From 2e4b8ae4858616572deec6ebdaa38f20ae96be7a Mon Sep 17 00:00:00 2001 From: kontrollanten <6680299+kontrollanten@users.noreply.github.com> Date: Fri, 11 Dec 2020 00:10:37 +0100 Subject: emailer: use instance name instead of hostname --- server/lib/emails/contact-form/html.pug | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'server/lib/emails/contact-form') diff --git a/server/lib/emails/contact-form/html.pug b/server/lib/emails/contact-form/html.pug index 0073ff78e..5a24fa6f1 100644 --- a/server/lib/emails/contact-form/html.pug +++ b/server/lib/emails/contact-form/html.pug @@ -4,6 +4,6 @@ block title | Someone just used the contact form block content - p #{fromName} sent you a message via the contact form on #[a(href=WEBSERVER.URL) #{WEBSERVER.HOST}]: + p #{fromName} sent you a message via the contact form on #[a(href=WEBSERVER.URL) #{instanceName}]: blockquote(style='white-space: pre-wrap') #{body} p You can contact them at #[a(href=`mailto:${fromEmail}`) #{fromEmail}], or simply reply to this email to get in touch. \ No newline at end of file -- cgit v1.2.3