move some things to .env
This commit is contained in:
parent
1f64934d03
commit
5dc2d2e6bc
2
app.js
2
app.js
@ -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,
|
||||||
|
Loading…
Reference in New Issue
Block a user