Closed AlexandreBernard closed 9 years ago
Pull request #6 adds support for redirecting to the asset host.
@sikachu hasn't merged it yet, but you can use my fork in your Gemfile:
gem 'sprockets-redirect', '~> 0.2.0', github: 'ianyamey/sprockets-redirect'
Correction — I've released 0.3.0 which include #6 in it.
I would need to redirect to my CDN url configured in production.rb
i see in the code that it only takes the requested url.
couldn't we add an option to use asset_host instead?