Node.js based forum software built for the modern web
fixing url in footer
Julian Lama9540a13a159
diff --git a/src/topics/follow.js b/src/topics/follow.jsindex f26fa20a46..55f88ef304 100644--- a/src/topics/follow.js+++ b/src/topics/follow.js@@ -259,6 +259,7 @@ module.exports = function (Topics) {subject: '[' + (meta.config.title || 'NodeBB') + '] ' + title,intro: '[[notifications:user_posted_to, ' + postData.user.username + ', ' + titleEscaped + ']]',postBody: postData.content.replace(/"\/\//g, '"https://'),+ userslug: data.userData.userslug,topicSlug: postData.topic.slug,showUnsubscribe: true,}, next);diff --git a/src/views/emails/partials/footer.tpl b/src/views/emails/partials/footer.tplindex 2d891efaa9..23a9371134 100644--- a/src/views/emails/partials/footer.tpl+++ b/src/views/emails/partials/footer.tpl@@ -4,7 +4,7 @@<td style="padding: 40px 10px;width: 100%;font-size: 12px; font-family: sans-serif; line-height:18px; text-align: center; color: #888888;"><br><br><!-- IF showUnsubscribe -->- [[email:notif.post.unsub.info]] <a href="{base_url}/user/{userslug}/settings">[[email:unsub.cta]]</a>.+ [[email:notif.post.unsub.info]] <a href="{url}/user/{userslug}/settings">[[email:unsub.cta]]</a>.<!-- ENDIF showUnsubscribe --><br><br></td>