Skip to content

Commit

Permalink
fix: optional NEXTAUTH_URL
Browse files Browse the repository at this point in the history
  • Loading branch information
GabrielGuedess committed Dec 11, 2024
1 parent f9f54d6 commit af1097e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/env.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { createEnv } from '@t3-oss/env-nextjs';
export const env = createEnv({
server: {
NEXTAUTH_SECRET: z.string().min(1),
NEXTAUTH_URL: z.string().url().min(1),
NEXTAUTH_URL: z.string().url().optional(),
},
client: {
NEXT_PUBLIC_API_URL: z.string().url().min(1),
Expand Down

0 comments on commit af1097e

Please sign in to comment.