First commit
This commit is contained in:
commit
72cd3434bf
6 changed files with 230 additions and 0 deletions
12
config.ru
Normal file
12
config.ru
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
require_relative 'app'
|
||||
|
||||
# Require TonTon modules if you want
|
||||
|
||||
use Rack::Session::Cookie, key: 'rack.session', secret: ENV.fetch('SESSION_SECRET')
|
||||
|
||||
app = Rack::URLMap.new(
|
||||
'/' => TonTonWeb::App.new
|
||||
# Add TonTon modules here
|
||||
)
|
||||
|
||||
run app
|
||||
Loading…
Add table
Add a link
Reference in a new issue