Skip to content

Commit

Permalink
Set JSON content type correctly. Oops.
Browse files Browse the repository at this point in the history
  • Loading branch information
imbriaco committed Aug 14, 2011
1 parent a988dc7 commit d11ea7c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions web.rb
Expand Up @@ -6,6 +6,7 @@
require 'json' require 'json'


get '/' do get '/' do
content_type 'application/json'
redis.info.to_json redis.info.to_json
end end


Expand Down

0 comments on commit d11ea7c

Please sign in to comment.