mirror of
https://github.com/Dokploy/dokploy
synced 2025-06-26 18:27:59 +00:00
fix(auth): update invite link host to use app.dokploy.com
This commit is contained in:
@@ -201,7 +201,7 @@ const { handler, api } = betterAuth({
|
|||||||
const host =
|
const host =
|
||||||
process.env.NODE_ENV === "development"
|
process.env.NODE_ENV === "development"
|
||||||
? "http://localhost:3000"
|
? "http://localhost:3000"
|
||||||
: "https://dokploy.com";
|
: "https://app.dokploy.com";
|
||||||
const inviteLink = `${host}/invitation?token=${data.id}`;
|
const inviteLink = `${host}/invitation?token=${data.id}`;
|
||||||
|
|
||||||
await sendEmail({
|
await sendEmail({
|
||||||
|
|||||||
Reference in New Issue
Block a user