mirror of
https://gitlab.silvrtree.co.uk/martind2000/nci.git
synced 2025-01-10 23:55:08 +00:00
set default notify option
This commit is contained in:
parent
d0f0593610
commit
57bc456454
5
app.js
5
app.js
@ -48,6 +48,10 @@ app.lib.reader = reader;
|
||||
app.lib.notifier = notifier;
|
||||
app.lib.logger = libLogger;
|
||||
|
||||
var configDefaults = {
|
||||
notify: {}
|
||||
};
|
||||
|
||||
Steppy(
|
||||
function() {
|
||||
app.config = {};
|
||||
@ -90,6 +94,7 @@ Steppy(
|
||||
},
|
||||
function(err, mkdirResult, config) {
|
||||
_(app.config).defaults(config);
|
||||
_(app.config).defaults(configDefaults);
|
||||
|
||||
logger.log('Server config:', JSON.stringify(app.config, null, 4));
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user