Skip to content

Commit

Permalink
🎨 operate on separate nconf instance (#7528)
Browse files Browse the repository at this point in the history
refs #7488

- if multiple projects use nconf, they all operate on the same cached nconf instance
- that can cause trouble
  • Loading branch information
kirrg001 authored and ErisDS committed Oct 10, 2016
1 parent 8370aa5 commit 637d177
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion core/server/config/index.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
var nconf = require('nconf'),
var Nconf = require('nconf'),
nconf = new Nconf.Provider(),
path = require('path'),
localUtils = require('./utils'),
packageInfo = require('../../../package.json'),
Expand Down

0 comments on commit 637d177

Please sign in to comment.