Skip to content
Browse files

Set JSON content type correctly. Oops.

  • Loading branch information...
1 parent a988dc7 commit d11ea7ce447ae7761b3a06b6d5b242aa97b2c293 @imbriaco committed Aug 14, 2011
Showing with 1 addition and 0 deletions.
  1. +1 −0 web.rb
View
1 web.rb
@@ -6,6 +6,7 @@
require 'json'
get '/' do
+ content_type 'application/json'
redis.info.to_json
end

0 comments on commit d11ea7c

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