no need to set bcrypt_rounds, only used in one place.

This commit is contained in:
Julian Lam
2014-11-30 16:49:53 -05:00
parent 598049e077
commit a0860abaaa

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