Permalink
Browse files

rolling back send_data/send_file stuff. not working.

  • Loading branch information...
croaky committed Nov 17, 2010
1 parent e12a437 commit d42c1339a3893a78c01fbd0e78dbd967d4bb601b
Showing with 1 addition and 1 deletion.
  1. +1 −1 app.rb
View
2 app.rb
@@ -20,6 +20,6 @@ class App < Sinatra::Base
when /\.eot$/ then 'application/vnd.ms-fontobject'
when /\.svg$/ then 'image/svg+xml'
end
- send_file open("#{ENV['S3_URL']}/#{params[:font_face]}")
+ open("#{ENV['S3_URL']}/#{params[:font_face]}").read
end
end

0 comments on commit d42c133

Please sign in to comment.