Commit e7b6001c authored by NGPixel's avatar NGPixel

fix: public access always false if using env var string

parent a85669b4
...@@ -45,6 +45,10 @@ module.exports = (confPaths) => { ...@@ -45,6 +45,10 @@ module.exports = (confPaths) => {
appconfig.port = process.env.PORT || 80 appconfig.port = process.env.PORT || 80
} }
// Convert booleans
appconfig.public = (appconfig.public === true || _.toLower(appconfig.public) === 'true')
// List authentication strategies // List authentication strategies
appconfig.authStrategies = { appconfig.authStrategies = {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment