diff --git a/.env.example b/.env.example index 55cf6e1..007f635 100644 --- a/.env.example +++ b/.env.example @@ -11,7 +11,7 @@ RESEND_API_KEY=re_your_api_key_here RESEND_CONTACTS_API_KEY= # Email address that receives contact form submissions -RESEND_TO=vbvwithnate@outlook.com +RESEND_TO=hello@versebyversewithnate.us # Optional: automatically add contact form submitters to a Resend Segment # Create a Segment in Resend and paste its ID here if you want new contacts grouped. diff --git a/server.js b/server.js index 8eea8d0..069eec6 100644 --- a/server.js +++ b/server.js @@ -156,7 +156,7 @@ app.post('/api/contact', contactRateLimit, async (req, res) => { const { error } = await resend.emails.send({ from: process.env.RESEND_FROM ?? 'Verse by Verse with Nate ', - to: [process.env.RESEND_TO ?? 'vbvwithnate@outlook.com'], + to: [process.env.RESEND_TO ?? 'hello@versebyversewithnate.us'], replyTo: trimmedEmail, subject: `Verse by Verse contact form: ${trimmedName}`, text: