From 637d177cac210c396f6156907437ee3fd5e7cc6c Mon Sep 17 00:00:00 2001 From: Katharina Irrgang Date: Mon, 10 Oct 2016 14:04:00 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=8E=A8=20=20operate=20on=20separate=20nco?= =?UTF-8?q?nf=20instance=20(#7528)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit refs #7488 - if multiple projects use nconf, they all operate on the same cached nconf instance - that can cause trouble --- core/server/config/index.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/core/server/config/index.js b/core/server/config/index.js index 5f5488b27c..17be98550d 100644 --- a/core/server/config/index.js +++ b/core/server/config/index.js @@ -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'),