diff --git a/server/libs/config.js b/server/libs/config.js index ef9c8dfa..20a2272c 100644 --- a/server/libs/config.js +++ b/server/libs/config.js @@ -45,6 +45,10 @@ module.exports = (confPaths) => { appconfig.port = process.env.PORT || 80 } + // Convert booleans + + appconfig.public = (appconfig.public === true || _.toLower(appconfig.public) === 'true') + // List authentication strategies appconfig.authStrategies = {