Skip to content

Commit 8dac35a

Browse files
committed
fix: update emailfrom
1 parent 78f2b3a commit 8dac35a

2 files changed

Lines changed: 3 additions & 0 deletions

File tree

functions/utils.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -149,6 +149,7 @@ export async function sendMagicLinkEmail(
149149
body: JSON.stringify({
150150
from: fromEmail,
151151
to: email,
152+
reply_to: 'noreply@hex.dvdagames.com',
152153
subject: 'Sign in to Hex Flower Engine',
153154
html: `
154155
<h2>Sign in to Hex Flower Engine</h2>

wrangler.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,5 +15,7 @@ database_id = "28890a06-d90d-42b6-a601-2d2f3c7ba608" # Fill in after creating: n
1515
# ADMIN_EMAILS - Comma-separated list of admin email addresses
1616
# EMAIL_FROM - Sender email address (e.g., "Hex Flower Engine <info@hex.dvdagames.com>")
1717

18+
EMAIL_FROM = "Hex Flower Engine <info@hex.dvdagames.com>"
19+
1820
[vars]
1921
ENVIRONMENT = "production"

0 commit comments

Comments
 (0)