Skip to content

Commit 9226fe0

Browse files
authored
feat: switch over a href's to target blank (#321)
1 parent eb56163 commit 9226fe0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

platforms/evoting-api/src/services/MessageService.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ export class MessageService {
7171

7272
const voteUrl = `${process.env.PUBLIC_EVOTING_URL || 'http://localhost:3000'}/${voteId}`;
7373
return await this.createSystemMessage({
74-
text: `eVoting Platform: New vote created!\n\n"${voteTitle}"\n\nVote ID: ${voteId}\n\nCreated by: ${creatorName}${deadlineText}\n\n<a href="${voteUrl}">Cast your vote here</a>`,
74+
text: `eVoting Platform: New vote created!\n\n"${voteTitle}"\n\nVote ID: ${voteId}\n\nCreated by: ${creatorName}${deadlineText}\n\n<a href="${voteUrl}" target="_blank">Cast your vote here</a>`,
7575
groupId,
7676
voteId,
7777
});

0 commit comments

Comments
 (0)