1
0
Fork 0

quick changes

master
Ruben Meyer 3 years ago
parent f5306856a9
commit db9b974389
  1. 2
      app.js
  2. 2
      bin/cli/cmds/print_cached_log.js
  3. 2
      bin/config.js

@ -35,7 +35,9 @@ if(env_missing) process.exit();
global['modules'].events = load('events'); // event handler
global['modules'].cli = load('cli'); // command line interface
global['modules'].logs = load('logs'); // log handler
global['logs'] = global['modules'].logs; // alias
global['modules'].database = load('database'); // database service
global['modules'].web = load('web'); // web server

@ -8,7 +8,7 @@ module.exports = {
'command': 'logs',
'description': 'output logs',
'action': (args, cb) => {
this.log(JSON.stringify(global['gds'].cache.logs));
console.log(JSON.stringify(global['gds'].cache.logs));
cb();
}
};

@ -22,7 +22,7 @@ module.exports = {
poweredBy: 'authRXBN.js',
sessionKey: require('crypto').randomBytes(32).toString('hex'),
cookieKey: require('crypto').randomBytes(32).toString('hex'),
registration: true, // false -> no registration
registration: false, // false -> no registration
rememberMeMaxAge: 1000*60*60 // two weeks (milliseconds*seconds*minutes)
},
app: {

Loading…
Cancel
Save