Skip to content

Commit

Permalink
add svg content-type
Browse files Browse the repository at this point in the history
  • Loading branch information
Dan Croak committed Nov 17, 2010
1 parent 78b8858 commit 8cbf46e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app.rb
Expand Up @@ -18,6 +18,7 @@ class App < Sinatra::Base
when /\.otf$/ then 'font/opentype'
when /\.woff$/ then 'font/woff'
when /\.eot$/ then 'application/vnd.ms-fontobject'
when /\.svg$/ then 'image/svg+xml'
end
open("#{ENV['S3_URL']}/#{params[:font_face]}").read
end
Expand Down

0 comments on commit 8cbf46e

Please sign in to comment.