From 5dc2d2e6bca864ffd04a3d292dfdbad9fbeeed58 Mon Sep 17 00:00:00 2001 From: Raven Scott Date: Thu, 26 Sep 2024 01:07:01 -0400 Subject: [PATCH] move some things to .env --- app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app.js b/app.js index c90ef77..011915a 100644 --- a/app.js +++ b/app.js @@ -184,7 +184,7 @@ app.post('/contact', async (req, res) => { // Set up email options let mailOptions = { - from: `"${name}" `, + from: `"${name}" <${process.env.RECEIVER_EMAIL}>`, to: process.env.RECEIVER_EMAIL, // Your email address to receive contact form submissions subject: subject, html: output,