Skip to content

Commit

Permalink
Merge pull request #1468 from haraka/core_config_merging
Browse files Browse the repository at this point in the history
Fix config overriding for core modules
  • Loading branch information
baudehlo committed May 18, 2016
2 parents 5fcc5e2 + 37c8e07 commit ed41ac4
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions config.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@ function Config (root_path) {
}
return cfg;
};
if (process.env.HARAKA) {
this.overrides_path = path.join(__dirname, 'config');
}
}

Config.prototype.get = function(name, type, cb, options) {
Expand Down

0 comments on commit ed41ac4

Please sign in to comment.