Skip to content
Browse files

send_data was deprecated. using send_file instead.

  • Loading branch information...
1 parent 0cbf377 commit e12a4379fcef9b5ad2250bccba17dd592d3fffe5 @croaky croaky committed Nov 17, 2010
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_data open("#{ENV['S3_URL']}/#{params[:font_face]}")
+ send_file open("#{ENV['S3_URL']}/#{params[:font_face]}")
end
end

0 comments on commit e12a437

Please sign in to comment.
Something went wrong with that request. Please try again.