Skip to content

Commit

Permalink
different content-type for .woff
Browse files Browse the repository at this point in the history
  • Loading branch information
Dan Croak committed Nov 23, 2010
1 parent 5a7a018 commit 5e584f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app.rb
Expand Up @@ -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
Expand Down

0 comments on commit 5e584f3

Please sign in to comment.