Add binding

This commit is contained in:
alexey
2025-03-22 22:56:32 +03:00
parent b5bf43a6d5
commit 224344339e

1
app.rb
View File

@@ -39,6 +39,7 @@ end
cfg = IniConfig.new()
db = DBase.new(cfg)
set :bind, "0.0.0.0"
set :port, cfg.get_port
set :public_folder, File.dirname(__FILE__) + "/public"
use Rack::Session::Pool, :expire_after => 2592000