Skip to content

Rallly is an open-source scheduling and collaboration tool designed to make organizing events and meetings easier.

🐛 Fix preview builds failing

Luke Vella94f678285930
diff --git a/apps/web/src/env.ts b/apps/web/src/env.ts
index 28bd4e945..86cb50811 100644
--- a/apps/web/src/env.ts
+++ b/apps/web/src/env.ts
@@ -92,7 +92,7 @@ export const env = createEnv({
* You'll get type errors if these are not prefixed with NEXT_PUBLIC_.
*/
client: {
- NEXT_PUBLIC_BASE_URL: z.url(),
+ NEXT_PUBLIC_BASE_URL: z.url().optional(),
NEXT_PUBLIC_POSTHOG_API_KEY: z.string().optional(),
NEXT_PUBLIC_POSTHOG_API_HOST: z.url().optional(),
NEXT_PUBLIC_SELF_HOSTED: z.enum(["true", "false"]).optional(),