mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-02 20:16:04 +01:00
updated install script to only populate "socket" object in client config with "address", which takes "use_port" into account.
This closes #234
This commit is contained in:
@@ -75,8 +75,7 @@ var async = require('async'),
|
||||
server_conf = config,
|
||||
client_conf = {
|
||||
socket: {
|
||||
address: protocol + '//' + host,
|
||||
port: config.port
|
||||
address: protocol + '//' + host + (config.use_port ? ':' + config.port : '')
|
||||
},
|
||||
api_url: protocol + '//' + host + (config.use_port ? ':' + config.port : '') + relative_path + '/api/',
|
||||
relative_path: relative_path
|
||||
|
||||
Reference in New Issue
Block a user