You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
some of our blueprints use relative references to resources (we want them to be self contained) and without adding a trailing slash to the preview and publish urls this breaks, as the browser tries to load them considering the server root as base url.
For now I've hacked it inside url_for() in lib/autotune/deployer.rb but I'd like to know if there's a better way to do this.
Thanks
The text was updated successfully, but these errors were encountered:
I believe there is a switch or setting in there somewhere to add or omit the trailing slash. But I can't remember off the top of my head.
When deploying to S3 you need to always have the trailing slash, but when autotune deploys to our CMS it has to omit the trailing slash, so I thought we made that an option somewhere.
I believe there is a switch or setting in there somewhere to add or omit the trailing slash. But I can't remember off the top of my head.
When deploying to S3 you need to always have the trailing slash, but when autotune deploys to our CMS it has to omit the trailing slash, so I thought we made that an option somewhere.
I'll give another read at the codebase, probably I missed it.
Hi again,
some of our blueprints use relative references to resources (we want them to be self contained) and without adding a trailing slash to the preview and publish urls this breaks, as the browser tries to load them considering the server root as base url.
For now I've hacked it inside url_for() in lib/autotune/deployer.rb but I'd like to know if there's a better way to do this.
Thanks
The text was updated successfully, but these errors were encountered: