🚫 Add noreply email config

This commit is contained in:
Luke Vella 2023-04-25 14:06:20 +01:00
parent 07a850a294
commit deb8bba00f
2 changed files with 2 additions and 1 deletions

View file

@ -100,7 +100,7 @@ export const sendEmail = async <T extends TemplateName>(
await sendRawEmail({
from: {
name: "Rallly",
address: process.env.SUPPORT_EMAIL,
address: process.env.NOREPLY_EMAIL || process.env.SUPPORT_EMAIL,
},
to: options.to,
subject: options.subject,

View file

@ -28,6 +28,7 @@
"NEXT_PUBLIC_VERCEL_URL",
"NEXT_PUBLIC_FEEDBACK_EMAIL",
"NODE_ENV",
"NOREPLY_EMAIL",
"PORT",
"SECRET_PASSWORD",
"SENTRY_AUTH_TOKEN",