move some things to .env

This commit is contained in:
Raven Scott 2024-09-26 01:07:01 -04:00
parent 1f64934d03
commit 5dc2d2e6bc

2
app.js
View File

@ -184,7 +184,7 @@ app.post('/contact', async (req, res) => {
// Set up email options // Set up email options
let mailOptions = { let mailOptions = {
from: `"${name}" <quote@node-geeks.com>`, from: `"${name}" <${process.env.RECEIVER_EMAIL}>`,
to: process.env.RECEIVER_EMAIL, // Your email address to receive contact form submissions to: process.env.RECEIVER_EMAIL, // Your email address to receive contact form submissions
subject: subject, subject: subject,
html: output, html: output,