move some things to .env

This commit is contained in:
Raven Scott
2024-09-26 01:07:01 -04:00
parent 1f64934d03
commit 5dc2d2e6bc
+1 -1
View File
@@ -184,7 +184,7 @@ app.post('/contact', async (req, res) => {
// Set up email options
let mailOptions = {
from: `"${name}" <[email protected]>`,
from: `"${name}" <${process.env.RECEIVER_EMAIL}>`,
to: process.env.RECEIVER_EMAIL, // Your email address to receive contact form submissions
subject: subject,
html: output,