From b8fff2321c7102a91cfdfa19473e1b2c8ac118d0 Mon Sep 17 00:00:00 2001 From: Miguel Piedrafita Date: Sun, 28 Oct 2018 20:06:44 +0100 Subject: [PATCH] Parsed nconf env values (#10077) closes #10073, closes #8940 - see https://github.com/TryGhost/Ghost/issues/10073#issuecomment-433637006 and https://github.com/TryGhost/Ghost/issues/8940#issuecomment-418302189 --- 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 96d5992078..95fda5e734 100644 --- a/core/server/config/index.js +++ b/core/server/config/index.js @@ -28,7 +28,8 @@ _private.loadNconf = function loadNconf(options) { * env arguments */ nconf.env({ - separator: '__' + separator: '__', + parseValues: true }); nconf.file('custom-env', path.join(customConfigPath, 'config.' + env + '.json'));