🚫 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,