0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-13 22:41:32 -05:00

Merge pull request #3988 from ErisDS/app-flag

Force apps flag to be boolean in config API
This commit is contained in:
Sebastian Gierlinger 2014-09-09 11:37:16 +02:00
commit 5e0c890b4d

View file

@ -11,7 +11,7 @@ var _ = require('lodash'),
function getValidKeys() { function getValidKeys() {
var validKeys = { var validKeys = {
'fileStorage': config.fileStorage === false ? false : true, 'fileStorage': config.fileStorage === false ? false : true,
'apps': config.apps || false, 'apps': config.apps === true ? true : false,
'version': false, 'version': false,
'environment': process.env.NODE_ENV, 'environment': process.env.NODE_ENV,
'database': config.database.client, 'database': config.database.client,