Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

different content-type for .woff

  • Loading branch information...
commit 5e584f33104648efcfb6819c8293ccd6cb369182 1 parent 5a7a018
@croaky croaky authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  app.rb
View
2  app.rb
@@ -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.
Something went wrong with that request. Please try again.