Skip to content

Commit e51ac7f

Browse files
committed
fixing config processing
1 parent fd1b81d commit e51ac7f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

server.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,6 @@ function isEnabled (env, configKey, config) {
7575
if (env === 'true') return true
7676
else return false
7777
} else {
78-
return config.get(configKey) || true
78+
return config.has(configKey) ? config.get(configKey) : true
7979
}
8080
}

0 commit comments

Comments
 (0)