|
|
@ -75,8 +75,7 @@ var async = require('async'),
|
|
|
|
server_conf = config,
|
|
|
|
server_conf = config,
|
|
|
|
client_conf = {
|
|
|
|
client_conf = {
|
|
|
|
socket: {
|
|
|
|
socket: {
|
|
|
|
address: protocol + '//' + host,
|
|
|
|
address: protocol + '//' + host + (config.use_port ? ':' + config.port : '')
|
|
|
|
port: config.port
|
|
|
|
|
|
|
|
},
|
|
|
|
},
|
|
|
|
api_url: protocol + '//' + host + (config.use_port ? ':' + config.port : '') + relative_path + '/api/',
|
|
|
|
api_url: protocol + '//' + host + (config.use_port ? ':' + config.port : '') + relative_path + '/api/',
|
|
|
|
relative_path: relative_path
|
|
|
|
relative_path: relative_path
|
|
|
|