Skip to content

Commit

Permalink
demo: fix invite link
Browse files Browse the repository at this point in the history
  • Loading branch information
Bekacru committed Oct 24, 2024
1 parent 60af5d9 commit 02a3b26
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions demo/nextjs/lib/auth.ts
Original file line number Diff line number Diff line change
Expand Up @@ -95,9 +95,9 @@ export const auth = betterAuth({
process.env.NODE_ENV === "development"
? `http://localhost:3000/accept-invitation/${data.id}`
: `https://${
process.env.BETTER_AUTH_URL ||
process.env.NEXT_PUBLIC_APP_URL ||
process.env.VERCEL_URL ||
process.env.BETTER_AUTH_URL
process.env.VERCEL_URL
}/accept-invitation/${data.id}`,
}),
});
Expand Down

0 comments on commit 02a3b26

Please sign in to comment.