forked from TonTon/tonton-web
12 lines
No EOL
237 B
Ruby
12 lines
No EOL
237 B
Ruby
require_relative 'tonton_web'
|
|
|
|
# Require TonTon modules if you want
|
|
|
|
use Rack::Session::Cookie, key: 'rack.session', secret: ENV.fetch('SESSION_SECRET')
|
|
|
|
app = Rack::URLMap.new(
|
|
'/' => TonTonWeb.new
|
|
# Add TonTon modules here
|
|
)
|
|
|
|
run app |