diff --git a/src/utils/read-env-vars.ts b/src/utils/read-env-vars.ts index 34c60f57..dec4ad7e 100644 --- a/src/utils/read-env-vars.ts +++ b/src/utils/read-env-vars.ts @@ -39,5 +39,5 @@ export const environment = { AUTH_TYPE: getEnvVar('REACT_APP_AUTH_TYPE') || AuthTypeEnum.None, // VISUALIZE is disabled by default, so if value is not present and not set to true in env-config.js, VISUALIZE page is disabled VIZUALIZE_ENABLED: getEnvVar('REACT_APP_VIZUALIZE_ENABLED') || false, - DEBUG: Boolean(getEnvVar('REACT_APP_DEBUG') || false) + DEBUG: Boolean(getEnvVar('REACT_APP_DEBUG') === 'true'), };