Skip to content

Commit

Permalink
Merge pull request #481 from InseeFr/fix/v3-dev-options
Browse files Browse the repository at this point in the history
parse boolean dev options
  • Loading branch information
renaud23 authored Nov 23, 2023
2 parents 4f3b885 + c555588 commit 8157666
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 8157666

Please sign in to comment.