mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-20 22:42:53 -05:00
Force apps flag to be boolean in config API
ref #3969 - it shouldn't be possible to set keys via this flag
This commit is contained in:
parent
9c0b203dce
commit
2aff9ed8eb
1 changed files with 1 additions and 1 deletions
|
@ -11,7 +11,7 @@ var _ = require('lodash'),
|
|||
function getValidKeys() {
|
||||
var validKeys = {
|
||||
'fileStorage': config.fileStorage === false ? false : true,
|
||||
'apps': config.apps || false,
|
||||
'apps': config.apps === true ? true : false,
|
||||
'version': false,
|
||||
'environment': process.env.NODE_ENV,
|
||||
'database': config.database.client,
|
||||
|
|
Loading…
Add table
Reference in a new issue