diff --git a/app.rb b/app.rb index 15c4a06..dfe2573 100644 --- a/app.rb +++ b/app.rb @@ -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