Skip to content

Commit 0bf141c

Browse files
bchapuisclaude
andcommitted
Add EMAIL_DOMAIN to wrangler vars for both dev and production
Was only set in .dev.vars, causing "No sender address available" in production. Moved to wrangler.jsonc vars since it's not sensitive. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 5a88d8c commit 0bf141c

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

apps/api/.dev.vars.example

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
WEB_HOST=http://localhost:3001
22
WEBSITE_URL=http://localhost:3002
33

4-
EMAIL_DOMAIN=dafthunk.com
5-
64
CLOUDFLARE_ENV=development
75
CLOUDFLARE_ACCOUNT_ID=CHANGE_ME
86
CLOUDFLARE_API_TOKEN=CHANGE_ME

apps/api/wrangler.jsonc

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,8 @@
215215
*/
216216
"vars": {
217217
"WEB_HOST": "https://app.dafthunk.com",
218-
"WEBSITE_URL": "https://www.dafthunk.com"
218+
"WEBSITE_URL": "https://www.dafthunk.com",
219+
"EMAIL_DOMAIN": "dafthunk.com"
219220
},
220221
"env": {
221222
"production": {
@@ -390,7 +391,8 @@
390391
},
391392
"vars": {
392393
"WEB_HOST": "https://app.dafthunk.com",
393-
"WEBSITE_URL": "https://www.dafthunk.com"
394+
"WEBSITE_URL": "https://www.dafthunk.com",
395+
"EMAIL_DOMAIN": "dafthunk.com"
394396
},
395397
"triggers": {
396398
"crons": ["* * * * *"]

0 commit comments

Comments
 (0)