From 5ad52adc8ec82f1aa3813b39b31decb500770a24 Mon Sep 17 00:00:00 2001 From: Remi <73385395+itsrubberduck@users.noreply.github.com> Date: Wed, 17 Sep 2025 17:21:12 +0200 Subject: [PATCH] Update contact email to info@opensquawk.de --- .env.example | 2 +- server/utils/notifications.ts | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.env.example b/.env.example index d45596f..81ec5a1 100644 --- a/.env.example +++ b/.env.example @@ -24,7 +24,7 @@ SPEECH_MODEL_ID=speaches-ai/piper-en_US-ryan-low # Notifications NOTIFY_RESEND_API_KEY= NOTIFY_EMAIL_TO= -NOTIFY_EMAIL_FROM=OpenSquawk +NOTIFY_EMAIL_FROM=OpenSquawk NOTIFY_SMTP_HOST= NOTIFY_SMTP_PORT=587 NOTIFY_SMTP_SECURE=false diff --git a/server/utils/notifications.ts b/server/utils/notifications.ts index 8eaf7d8..06eec03 100644 --- a/server/utils/notifications.ts +++ b/server/utils/notifications.ts @@ -1,4 +1,4 @@ -const ADMIN_EMAIL_FALLBACK = 'opensquawk@faktorxmensch.com' +const ADMIN_EMAIL_FALLBACK = 'info@opensquawk.de' const RESEND_ENDPOINT = 'https://api.resend.com/emails' @@ -9,7 +9,7 @@ async function sendViaResend(subject: string, text: string) { } const to = process.env.NOTIFY_EMAIL_TO || ADMIN_EMAIL_FALLBACK - const from = process.env.NOTIFY_EMAIL_FROM || 'OpenSquawk ' + const from = process.env.NOTIFY_EMAIL_FROM || 'OpenSquawk ' try { const response = await fetch(RESEND_ENDPOINT, { @@ -65,7 +65,7 @@ async function sendViaSmtp(subject: string, text: string) { } const to = process.env.NOTIFY_EMAIL_TO || ADMIN_EMAIL_FALLBACK - const from = process.env.NOTIFY_EMAIL_FROM || 'OpenSquawk ' + const from = process.env.NOTIFY_EMAIL_FROM || 'OpenSquawk ' try { const transporter = nodemailer.createTransport({