Skip to content

Commit

Permalink
parse boolean dev options
Browse files Browse the repository at this point in the history
  • Loading branch information
renaud23 committed Nov 21, 2023
1 parent 4f3b885 commit c555588
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/read-env-vars.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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'),
};

0 comments on commit c555588

Please sign in to comment.