Skip to content
  • peterh-gr's avatar
    Use asseturl and relative paths for asset files · f0978e14
    peterh-gr authored
    It wasn't working on staging because it lives in a sub-directory and
    the asset paths were all absolute. This switches to use the asseturl
    filter for all the assets in the template. There's one image asset for
    the credit cards that's hardcoded in the JS, I don't have a good way to
    use asseturl on that right now, so I've just hardcoded it to the path
    asseturl would generate. In the future it would probably be best to
    figure out how to do asseturl for images inside the Javascript.
    f0978e14