diff --git a/src/env.mjs b/src/env.mjs index 5c63107f..f9302121 100644 --- a/src/env.mjs +++ b/src/env.mjs @@ -15,6 +15,7 @@ export const env = createEnv({ client: { NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY: z.string().min(1), NEXT_PUBLIC_DRIVE_LINK: z.string().url().min(1), + // Clerk URLs. Redundant, but there is no other way from Clerk. NEXT_PUBLIC_CLERK_SIGN_IN_URL: z.literal('/signin'), NEXT_PUBLIC_CLERK_SIGN_UP_URL: z.literal('/join'), NEXT_PUBLIC_CLERK_AFTER_SIGN_IN_URL: z.literal('/'),