Permalink
Browse files

different content-type for .woff

  • Loading branch information...
1 parent 5a7a018 commit 5e584f33104648efcfb6819c8293ccd6cb369182 @croaky croaky committed Nov 23, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 app.rb
View
@@ -21,7 +21,7 @@ class App < Sinatra::Base
headers['Content-Type'] = case params[:font_face]
when /\.ttf$/ then 'font/truetype'
when /\.otf$/ then 'font/opentype'
- when /\.woff$/ then 'font/woff'
+ when /\.woff$/ then 'application/x-woff'
when /\.eot$/ then 'application/vnd.ms-fontobject'
when /\.svg$/ then 'image/svg+xml'
end

0 comments on commit 5e584f3

Please sign in to comment.