0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-06 22:40:14 -05:00

🎨 operate on separate nconf instance (#7528)

refs #7488

- if multiple projects use nconf, they all operate on the same cached nconf instance
- that can cause trouble
This commit is contained in:
Katharina Irrgang 2016-10-10 14:04:00 +02:00 committed by Hannah Wolfe
parent 8370aa51a8
commit 637d177cac

View file

@ -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'),