webdap/config/puma.rb

7 lines
217 B
Ruby
Raw Permalink Normal View History

# Load application config
require './app/config.rb'
$conf = Config.new(File.join(__dir__, '../config/config.yaml'))
bind_address = "tcp://#{$conf.get('server.address')}:#{$conf.get('server.port')}"
bind bind_address