Skip to content

Commit 7917a46

Browse files
committed
fix: fix for VITE_SHOW_TEST_INDICATOR in prod
1 parent 2ae5ebb commit 7917a46

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/shared/config.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@ export function parseBooleanEnvironmentVariable(raw?: string): boolean | null {
1010
}
1111

1212
export const VITE_SHOW_TEST_INDICATOR =
13-
process.env.VITE_SHOW_TEST_INDICATOR || false;
13+
parseBooleanEnvironmentVariable(process.env.VITE_SHOW_TEST_INDICATOR) ??
14+
false;
1415

1516
export const CONTACT_EMAIL = "digitalmarketplace@gov.bc.ca";
1617

0 commit comments

Comments
 (0)