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 5e7c0dd commit c582e5eCopy full SHA for c582e5e
src/env/schema.mjs
@@ -9,7 +9,7 @@ export const serverSchema = z.object({
9
DATABASE_URL: z.string().url(),
10
NODE_ENV: z.enum(["development", "test", "production"]),
11
NEXTAUTH_SECRET: z.string(),
12
- NEXTAUTH_URL: z.string().url(),
+ NEXTAUTH_URL: z.string().url().optional(),
13
GOOGLE_CLIENT_ID: z.string(),
14
GOOGLE_CLIENT_SECRET: z.string(),
15
});
0 commit comments