Skip to content

Commit

Permalink
chore(env): add comment for clerk redundant urls
Browse files Browse the repository at this point in the history
  • Loading branch information
jsun969 committed Feb 25, 2024
1 parent 518ad4d commit e0ed6a3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/env.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -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('/'),
Expand Down

0 comments on commit e0ed6a3

Please sign in to comment.