Skip to content

Commit

Permalink
use memory store with OVERRIDE_CONFIG false
Browse files Browse the repository at this point in the history
  • Loading branch information
jfromaniello committed Mar 21, 2016
1 parent ab06627 commit 35a6546
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/initConf.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@ var defaults = {
};

if (process.env.OVERRIDE_CONFIG === 'false') {
nconf.overrides({ OVERRIDE_CONFIG: false })
nconf.use('memory')
.overrides({ OVERRIDE_CONFIG: false })
.env('||')
.defaults(defaults);
} else {
Expand Down

0 comments on commit 35a6546

Please sign in to comment.