7 lines
214 B
Ruby
7 lines
214 B
Ruby
# 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
|