We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Looking through the docs I tried to use environment variables HOST/CDN_HOST but that did not do the trick either.
I need to set up a cdn host for my staging environment.
The text was updated successfully, but these errors were encountered:
I had a similar issue where we didn't want the cdn being used for staging and worked around it by conditionally setting the asset_hosts
asset_hosts %w(//xxxxxxxxxx.cloudfront.net) if app.settings.production?
You could do something similar if you have a setting that indicates it's staging?
staging?
Sorry, something went wrong.
No branches or pull requests
Looking through the docs I tried to use environment variables HOST/CDN_HOST but that did not do the trick either.
I need to set up a cdn host for my staging environment.
The text was updated successfully, but these errors were encountered: