fix(config): ssl environment configs not parse properly
This commit is contained in:
8
lib/config/utils.js
Normal file
8
lib/config/utils.js
Normal file
@@ -0,0 +1,8 @@
|
||||
'use strict'
|
||||
|
||||
exports.toBooleanConfig = function toBooleanConfig (configValue) {
|
||||
if (configValue && typeof configValue === 'string') {
|
||||
return (configValue === 'true')
|
||||
}
|
||||
return configValue
|
||||
}
|
||||
Reference in New Issue
Block a user