mirror of
https://github.com/LukeHagar/better-auth.git
synced 2025-12-10 04:19:32 +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}`
|
? `http://localhost:3000/accept-invitation/${data.id}`
|
||||||
: `${
|
: `${
|
||||||
process.env.BETTER_AUTH_URL ||
|
process.env.BETTER_AUTH_URL ||
|
||||||
process.env.NEXT_PUBLIC_APP_URL ||
|
"https://demo.better-auth.com"
|
||||||
process.env.VERCEL_URL
|
|
||||||
}/accept-invitation/${data.id}`,
|
}/accept-invitation/${data.id}`,
|
||||||
}),
|
}),
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user