Skip to content

Commit 1010c6b

Browse files
committed
fix: fix zod validation for config
1 parent 0e1e4b8 commit 1010c6b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Diff for: apps/web/src/environments/index.ts

+1
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ const Config = z.object({
1111
IS_DEMO: z.union([
1212
z.literal('enabled'),
1313
z.literal('disabled'),
14+
z.literal('$IS_DEMO'), // Can be set to this if value is not set as an environment variable
1415
z.undefined(),
1516
]),
1617
PUBLIC_URL: z.union([z.string().url().nullish(), z.literal('')]),

0 commit comments

Comments
 (0)