Permalink
Browse files

set css files to text/css content-type

  • Loading branch information...
1 parent 7d808be commit 5a7a01815ad0601e1eb1767246179e94ac4f6d1a @croaky croaky committed Nov 19, 2010
Showing with 1 addition and 0 deletions.
  1. +1 −0 app.rb
View
1 app.rb
@@ -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

0 comments on commit 5a7a018

Please sign in to comment.