fix: public access always false if using env var string
This commit is contained in:
parent
a85669b45f
commit
e7b6001cf8
@ -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 = {
|
||||||
|
Loading…
Reference in New Issue
Block a user