sikachu / sprockets-redirect

A Rack middleware for Rails >= 3.1.0 with asset pipeline and asset digest enabled. This middleware is used to redirect any request to static asset without a digest to the version with digest in its filename by reading the assets manifest file generated after you run `rake assets:precompile`
http://rubygems.org/gems/sprockets-redirect
MIT License
72 stars 26 forks source link

added asset_host support #5

Closed dfguo closed 9 years ago

dfguo commented 10 years ago

This adds the support to allow assets on CDN.

sikachu commented 10 years ago

I've changed the middleware a bit, and now I can't merge this in. Would you mind rebase this patch and make sure if it's still working?