Skip to content

Commit 77a0109

Browse files
authored
Update config.js (#482)
1 parent d249fa3 commit 77a0109

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

frontend/src/config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ class Config {
4242
val = process.env[key] || this.config[key];
4343
} else {
4444
val = this.config[key];
45-
if (val) {
45+
if (val && typeof val === 'string') {
4646
if (val.toLowerCase() === 'true') {
4747
val = true;
4848
} else if (val.toLowerCase() === 'false') {

0 commit comments

Comments
 (0)