magnars / optimus

A Ring middleware for frontend performance optimization.
364 stars 23 forks source link

Add :bundle-url-prefix config option #57

Closed cjohansen closed 7 years ago

cjohansen commented 7 years ago

Makes it possible to override the hard-coded /bundles URL path for concatenated bundles. It is quite possible to achieve the same thing now by simply changing the :path of the resulting asset, but it would be convenient to have Optimus generate the desired URL directly.

magnars commented 7 years ago

Looks good, except for that one issue with the readme. :)

magnars commented 7 years ago

This fix deployed in 0.19.3

cjohansen commented 7 years ago

And my code is rid of 7 slightly off lines of code. Thanks! 👍