mirror of
https://gitlab.silvrtree.co.uk/martind2000/nci.git
synced 2025-01-25 19:06:16 +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.notifier = notifier;
|
||||||
app.lib.logger = libLogger;
|
app.lib.logger = libLogger;
|
||||||
|
|
||||||
|
var configDefaults = {
|
||||||
|
notify: {}
|
||||||
|
};
|
||||||
|
|
||||||
Steppy(
|
Steppy(
|
||||||
function() {
|
function() {
|
||||||
app.config = {};
|
app.config = {};
|
||||||
@ -90,6 +94,7 @@ Steppy(
|
|||||||
},
|
},
|
||||||
function(err, mkdirResult, config) {
|
function(err, mkdirResult, config) {
|
||||||
_(app.config).defaults(config);
|
_(app.config).defaults(config);
|
||||||
|
_(app.config).defaults(configDefaults);
|
||||||
|
|
||||||
logger.log('Server config:', JSON.stringify(app.config, null, 4));
|
logger.log('Server config:', JSON.stringify(app.config, null, 4));
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user