We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 16a2e4b commit 5b60f6eCopy full SHA for 5b60f6e
src/env/client.ts
@@ -24,7 +24,7 @@ const getBaseUrl = () => {
24
export const envClient = createEnv({
25
clientPrefix: 'VITE_',
26
client: {
27
- VITE_BASE_URL: z.url(),
+ VITE_BASE_URL: z.url().or(z.string()),
28
VITE_IS_DEMO: z
29
.enum(['true', 'false'])
30
.optional()
0 commit comments