demo: update auth.ts remove duplicate https:// (#330)

yeah
This commit is contained in:
Robi
2024-10-25 07:48:53 +03:00
committed by GitHub
parent 02b096b887
commit dc01344842

View File

@@ -94,7 +94,7 @@ export const auth = betterAuth({
inviteLink:
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