diff --git a/service/notification.service.ts b/service/notification.service.ts index 1774c5e4..52028387 100644 --- a/service/notification.service.ts +++ b/service/notification.service.ts @@ -76,8 +76,8 @@ export class NotificationService extends RequestScopeService { html: makeNewCommentEmailTemplate({ page_slug: fullComment.page.title || fullComment.page.slug, by_nickname: comment.by_nickname, - approve_link: `${resolvedConfig.host}/api/open/approve?token=${approveToken}`, - unsubscribe_link: `${resolvedConfig.host}/api/open/unsubscribe?token=${unsubscribeToken}`, + approve_link: `${resolvedConfig.host}/open/approve?token=${approveToken}`, + unsubscribe_link: `${resolvedConfig.host}/open/unsubscribe?token=${unsubscribeToken}`, content: markdown.render(comment.content), notification_preferences_link: `${resolvedConfig.host}/user`, }) @@ -331,7 +331,7 @@ function makeNewCommentEmailTemplate(data: {