We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 10cb8a2 commit 75aa779Copy full SHA for 75aa779
app.rb
@@ -30,6 +30,7 @@
30
subdomain :api do
31
32
get '/' do
33
+ content_type :json
34
DB.fetch("SELECT * FROM launches") do |row|
35
row = row[:name]
36
JSON.pretty_generate(row)
0 commit comments