Open pardo-bsso opened 7 years ago
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.
Thanks.
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