mirror of
https://github.com/LukeHagar/better-auth.git
synced 2025-12-07 04:19:22 +00:00
chore: fix invitation link
This commit is contained in:
@@ -122,8 +122,7 @@ export const auth = betterAuth({
|
||||
? `http://localhost:3000/accept-invitation/${data.id}`
|
||||
: `${
|
||||
process.env.BETTER_AUTH_URL ||
|
||||
process.env.NEXT_PUBLIC_APP_URL ||
|
||||
process.env.VERCEL_URL
|
||||
"https://demo.better-auth.com"
|
||||
}/accept-invitation/${data.id}`,
|
||||
}),
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user