fix: public access always false if using env var string

This commit is contained in:
NGPixel 2017-08-06 11:17:53 -04:00
parent a85669b45f
commit e7b6001cf8

View File

@ -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 = {