removed use_proxy config, cleaned-up some comments and sneaked in a time log print on initialization, also, related to pull#820

This commit is contained in:
akhoury
2014-01-23 20:35:53 -05:00
parent b0ef974590
commit dcc6ec797e
3 changed files with 5 additions and 23 deletions

1
app.js
View File

@@ -74,6 +74,7 @@
nconf.set('upload_url', path.join(path.sep, nconf.get('relative_path'), 'uploads', path.sep));
nconf.set('base_dir', __dirname);
winston.info('Time: ' + new Date());
winston.info('Initializing NodeBB v' + pkg.version + ', on port ' + nconf.get('port') + ', using ' + nconf.get('database') +' store at ' + nconf.get(nconf.get('database') + ':host') + ':' + nconf.get(nconf.get('database') + ':port') + '.');
winston.info('NodeBB instance bound to: ' + ((nconf.get('bind_address') === "0.0.0.0" || !nconf.get('bind_address')) ? 'Any address (0.0.0.0)' : nconf.get('bind_address')));