forked from TonTon/tonton-web
[ First commit ]
This commit is contained in:
commit
851303e97b
6 changed files with 167 additions and 0 deletions
12
config.ru
Normal file
12
config.ru
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
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
|
||||
Reference in a new issue