13 lines
No EOL
287 B
Ruby
13 lines
No EOL
287 B
Ruby
require_relative 'example/app'
|
|
require_relative 'example/modules/module'
|
|
|
|
# Require TonTon modules if you want
|
|
|
|
use Rack::Session::Cookie, key: 'rack.session', secret: ENV.fetch('SESSION_SECRET')
|
|
|
|
app = Rack::URLMap.new(
|
|
'/' => ExampleApp.new,
|
|
'/module' => ExampleModule.new
|
|
)
|
|
|
|
run app |