Skip to content

Commit c582e5e

Browse files
committed
Make NEXTAUTH_URL optional
1 parent 5e7c0dd commit c582e5e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/env/schema.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ export const serverSchema = z.object({
99
DATABASE_URL: z.string().url(),
1010
NODE_ENV: z.enum(["development", "test", "production"]),
1111
NEXTAUTH_SECRET: z.string(),
12-
NEXTAUTH_URL: z.string().url(),
12+
NEXTAUTH_URL: z.string().url().optional(),
1313
GOOGLE_CLIENT_ID: z.string(),
1414
GOOGLE_CLIENT_SECRET: z.string(),
1515
});

0 commit comments

Comments
 (0)