This repository has been archived on 2025-11-13. You can view files and clone it, but you cannot make any changes to its state, such as pushing and creating new issues, pull requests or comments.
tonton-web/config.ru

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