jasonlewis / basset

A better asset management package for Laravel.
http://jasonlewis.me/code/basset
241 stars 76 forks source link

UriRewriteFilter for image paths in production env #198

Open dgorack opened 11 years ago

dgorack commented 11 years ago

I have a subfolder on my production server so the following worked to display images and fonts:

$collection->add('style.css')->apply('UriRewriteFilter')->setArguments('../');

but how do I apply that only to the production environment?

Kampfbereit commented 10 years ago

Didn't work for me, had to put this in to make images work on local dev machine (app is in a subdir):

->setArguments(NULL, array())