Add binding
This commit is contained in:
1
app.rb
1
app.rb
@@ -39,6 +39,7 @@ end
|
|||||||
cfg = IniConfig.new()
|
cfg = IniConfig.new()
|
||||||
db = DBase.new(cfg)
|
db = DBase.new(cfg)
|
||||||
|
|
||||||
|
set :bind, "0.0.0.0"
|
||||||
set :port, cfg.get_port
|
set :port, cfg.get_port
|
||||||
set :public_folder, File.dirname(__FILE__) + "/public"
|
set :public_folder, File.dirname(__FILE__) + "/public"
|
||||||
use Rack::Session::Pool, :expire_after => 2592000
|
use Rack::Session::Pool, :expire_after => 2592000
|
||||||
|
|||||||
Reference in New Issue
Block a user