Skip to content
This repository was archived by the owner on Feb 27, 2023. It is now read-only.

Commit 0ded882

Browse files
committed
add root route
1 parent e5976ac commit 0ded882

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

web.rb

+5
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,11 @@
66

77
Stripe.api_key = ENV['STRIPE_TEST_SECRET_KEY']
88

9+
get '/' do
10+
status 200
11+
return "Great, your backend is set up. Now you can configure the Stripe example iOS apps to point here."
12+
end
13+
914
post '/charge' do
1015

1116
# Get the credit card details submitted by the form

0 commit comments

Comments
 (0)