Skip to content

Commit

Permalink
debug: testing build
Browse files Browse the repository at this point in the history
  • Loading branch information
Bensigo committed Sep 27, 2023
1 parent 573bad0 commit 6bf12b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/env.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ export const env = createEnv({
// Since NextAuth.js automatically uses the VERCEL_URL if present.
(str) => process.env.VERCEL_URL ?? str,
// VERCEL_URL doesn't include `https` so it cant be validated as a URL
process.env.VERCEL ? z.string().min(1) : z.string().url(),
process.env.VERCEL ? z.string() : z.string().url(),
),
// Add `.min(1) on ID and SECRET if you want to make sure they're not empty
GOOGLE_ID: z.string(),
Expand Down

0 comments on commit 6bf12b9

Please sign in to comment.