rstacruz / sinatra-assetpack

Package your assets transparently in Sinatra.
http://ricostacruz.com/sinatra-assetpack/
MIT License
541 stars 97 forks source link

Fonts returning 404 #50

Closed jfromell closed 11 years ago

jfromell commented 12 years ago

I have set up AssetPack to serve /fonts from /app/assets/fonts, my fonts are placed in /app/assets/fonts. I require them in my css file as so "url(/fonts/font1.eot)". Problem is they all return a 404, even though they are there. Also, fonts required like this "url(/fonts/font1.svg#FontStyle)" doesn't get the cache busting feature (the filename.18923.extension).

j15e commented 11 years ago

Here I get 200 OK response but empty (0 byte) body

dannyhertz commented 11 years ago

I'm also getting 404's for all svg, ttf, and woff files. Anyone having any success with this?

j15e commented 11 years ago

I have a fork here if you want to have a look, I am really trying to fix things up, but haven't found how to fix this specific issue yet (the most important) : https://github.com/hooktstudios/sinatra-assetpack

j15e commented 11 years ago

FYI, it is still a known issued we have to work on, not fixed in new release 0.1.0

j15e commented 11 years ago

Fixed in v0.1.1