Update contact email to info@opensquawk.de

This commit is contained in:
Remi
2025-09-17 17:21:12 +02:00
parent ab6bf8c3d5
commit c084e4da3a
6 changed files with 10 additions and 10 deletions

View File

@@ -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 <no-reply@opensquawk.dev>'
const from = process.env.NOTIFY_EMAIL_FROM || 'OpenSquawk <info@opensquawk.de>'
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 <no-reply@opensquawk.dev>'
const from = process.env.NOTIFY_EMAIL_FROM || 'OpenSquawk <info@opensquawk.de>'
try {
const transporter = nodemailer.createTransport({