Skip to content

📈 Open source, privacy-first web analytics — a cookie-less Google Analytics alternative with built-in error tracking and performance monitoring. Self-host it or use our cloud. Get started for free!

updated share confirmation url

Blue Mouse4678ae7b0b7f
diff --git a/src/project/project.controller.ts b/src/project/project.controller.ts
index 7b9a80f8e..d15c1cf31 100644
--- a/src/project/project.controller.ts
+++ b/src/project/project.controller.ts
@@ -596,8 +596,7 @@ export class ProjectController {
// TODO: Implement link expiration
const actionToken = await this.actionTokensService.createForUser(user, ActionTokenType.PROJECT_SHARE, share.id)
- // const url = `${headers.origin}/share/${actionToken.id}`
- const url = `http://localhost:5005/project/share/${actionToken.id}`
+ const url = `${headers.origin}/share/${actionToken.id}`
await this.mailerService.sendEmail(invitee.email, LetterTemplate.ProjectInvitation, {
url, email: user.email, name: project.name, role: share.role, expiration: PROJECT_INVITE_EXPIRE,
})