Skip to content

Commit

Permalink
set css files to text/css content-type
Browse files Browse the repository at this point in the history
  • Loading branch information
Dan Croak committed Nov 19, 2010
1 parent 7d808be commit 5a7a018
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app.rb
Expand Up @@ -13,6 +13,7 @@ class App < Sinatra::Base
end

get '/:font_face.css' do
headers['Content-Type'] = 'text/css'
open("#{ENV['S3_URL']}/#{params[:font_face]}.css").read
end

Expand Down

0 comments on commit 5a7a018

Please sign in to comment.