Merge remote-tracking branch 'origin/master' into socket.io1.x

This commit is contained in:
barisusakli
2014-12-01 12:13:50 -05:00
11 changed files with 92 additions and 21 deletions

1
app.js
View File

@@ -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);