Skip to content
Newer
Older
100644 19 lines (14 sloc) 284 Bytes
277a100 @atmos basic template for getting sinatra running
authored
1 require 'appengine-rack'
2 AppEngine::Rack.configure_app(
3 :application => 'gmail-auth',
4 :version => 1)
5
6 require 'sinatra'
7 require 'lib/hello'
8 require 'lib/restricted'
9
10 map "/restricted" do
11 use AppEngine::Rack::LoginRequired
bfe316d @atmos actually use the other app
authored
12 run RestrictedApp
277a100 @atmos basic template for getting sinatra running
authored
13 end
14
15 map "/" do
16 run HelloApp
17 end
18
Something went wrong with that request. Please try again.