Skip to content

Commit

Permalink
Update config.js (#482)
Browse files Browse the repository at this point in the history
  • Loading branch information
mservidio authored Apr 15, 2021
1 parent d249fa3 commit 77a0109
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/src/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ class Config {
val = process.env[key] || this.config[key];
} else {
val = this.config[key];
if (val) {
if (val && typeof val === 'string') {
if (val.toLowerCase() === 'true') {
val = true;
} else if (val.toLowerCase() === 'false') {
Expand Down

0 comments on commit 77a0109

Please sign in to comment.