From 05e32ef9e494754059d602a7900f8790e86c50c5 Mon Sep 17 00:00:00 2001 From: Ankit Sridhar <36269838+ankitsridhar16@users.noreply.github.com> Date: Wed, 31 May 2023 20:06:34 +0530 Subject: [PATCH] fix: update team invitation link to domain specified in .env [HBE-202] (#3096) --- .../src/team-invitation/team-invitation.service.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/hoppscotch-backend/src/team-invitation/team-invitation.service.ts b/packages/hoppscotch-backend/src/team-invitation/team-invitation.service.ts index 9065652061..9227fa93d5 100644 --- a/packages/hoppscotch-backend/src/team-invitation/team-invitation.service.ts +++ b/packages/hoppscotch-backend/src/team-invitation/team-invitation.service.ts @@ -126,7 +126,7 @@ export class TeamInvitationService { template: 'team-invitation', variables: { invitee: creator.displayName ?? 'A Hoppscotch User', - action_url: `https://hoppscotch.io/join-team?id=${invitation.id}`, + action_url: `${process.env.VITE_BASE_URL}/join-team?id=${invitation.id}`, invite_team_name: team.name, }, }),