Skip to content

Commit

Permalink
fix: fix zod validation for config
Browse files Browse the repository at this point in the history
  • Loading branch information
cfu288 committed Jun 30, 2024
1 parent 0e1e4b8 commit 1010c6b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions apps/web/src/environments/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ const Config = z.object({
IS_DEMO: z.union([
z.literal('enabled'),
z.literal('disabled'),
z.literal('$IS_DEMO'), // Can be set to this if value is not set as an environment variable
z.undefined(),
]),
PUBLIC_URL: z.union([z.string().url().nullish(), z.literal('')]),
Expand Down

0 comments on commit 1010c6b

Please sign in to comment.