mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-01 23:37:43 +03:00
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
This commit is contained in:
parent
8d12c8908f
commit
b8fff2321c
@ -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'));
|
||||
|
Loading…
Reference in New Issue
Block a user