mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-12-24 01:10:31 +01:00
Merge remote-tracking branch 'origin/master' into socket.io1.x
This commit is contained in:
1
app.js
1
app.js
@@ -110,7 +110,6 @@ function start() {
|
||||
|
||||
// nconf defaults, if not set in config
|
||||
if (!nconf.get('upload_path')) nconf.set('upload_path', '/public/uploads');
|
||||
if (!nconf.get('bcrypt_rounds')) nconf.set('bcrypt_rounds', 12);
|
||||
// Parse out the relative_url and other goodies from the configured URL
|
||||
var urlObject = url.parse(nconf.get('url'));
|
||||
nconf.set('use_port', !!urlObject.port);
|
||||
|
||||
Reference in New Issue
Block a user