Skip to content

Instantly share code, notes, and snippets.

@hostsamurai
Created October 27, 2010 04:42
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hostsamurai/648450 to your computer and use it in GitHub Desktop.
Save hostsamurai/648450 to your computer and use it in GitHub Desktop.
Get @font-face working again in Sinatra 1.1.0 and Compass 0.10.5
# Sinatra couldn't load my fonts once I updated to the latest version (1.1.0).
# The solution was to specify the mime types for those fonts.
## mime types for fonts
mime_type '.woff', "application/x-woff"
mime_type '.ttf', "application/x-font-ttf"
mime_type '.eot', "application/vnd.ms-fontobject"
@atestu
Copy link

atestu commented Oct 27, 2010

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment