hotfixing bug where client-side config was incorrectly set up if port isn't being used

v1.18.x
Julian Lam 12 years ago
parent 740cf13e8d
commit 42e40e62d3

@ -157,7 +157,7 @@ fs.readFile(path.join(__dirname, 'config.json'), function(err, data) {
address: base_url, address: base_url,
port: port port: port
}, },
api_url: base_url + ':' + port + '/api/' api_url: base_url + (use_port ? ':' + port : '') + '/api/'
}, null, 4)) }, null, 4))
}); });
}); });

Loading…
Cancel
Save