Permalink
Browse files

add svg content-type

  • Loading branch information...
1 parent 78b8858 commit 8cbf46e2a612f740b734e7af843bdb92ac6e6019 @croaky croaky committed Nov 17, 2010
Showing with 1 addition and 0 deletions.
  1. +1 −0 app.rb
View
1 app.rb
@@ -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

0 comments on commit 8cbf46e

Please sign in to comment.