fix: public access always false if using env var string

pull/203/head
NGPixel 7 years ago
parent a85669b45f
commit e7b6001cf8

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

Loading…
Cancel
Save