MyaDB commited on
Commit
f170271
·
1 Parent(s): 727be39

Update with resend domain

Browse files
Files changed (2) hide show
  1. .env +2 -1
  2. app/app.py +1 -1
.env CHANGED
@@ -3,4 +3,5 @@ SUPABASE_SERVICE_KEY=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZS
3
  SUPABASE_BUCKET=beauty-filter
4
  REQUIRE_SUPABASE=1
5
  SUPABASE_REFLECTIONS_TABLE=smart_mirror_sessions
6
- RESEND_API_KEY =re_AnDPNA2r_6rZmeLucB8TdSjv7QAoe3egw
 
 
3
  SUPABASE_BUCKET=beauty-filter
4
  REQUIRE_SUPABASE=1
5
  SUPABASE_REFLECTIONS_TABLE=smart_mirror_sessions
6
+ RESEND_API_KEY =re_AnDPNA2r_6rZmeLucB8TdSjv7QAoe3egw
7
+ RESEND_FROM = noreply@beautyfilteraudit.com
app/app.py CHANGED
@@ -92,7 +92,7 @@ except Exception as e:
92
  _log(f"[email] resend import failed: {resend_import_error}")
93
 
94
  RESEND_API_KEY = (os.environ.get("RESEND_API_KEY") or "").strip().strip('"').strip("'")
95
- RESEND_FROM = (os.environ.get("RESEND_FROM") or "").strip().strip('"').strip("'") or "onboarding@resend.dev"
96
 
97
  _log(f"[email] RESEND_API_KEY present? {bool(RESEND_API_KEY)}")
98
  _log(f"[email] RESEND_FROM='{RESEND_FROM}'")
 
92
  _log(f"[email] resend import failed: {resend_import_error}")
93
 
94
  RESEND_API_KEY = (os.environ.get("RESEND_API_KEY") or "").strip().strip('"').strip("'")
95
+ RESEND_FROM = (os.environ.get("RESEND_FROM") or "").strip().strip('"').strip("'") or "noreply@beautyfilteraudit.com"
96
 
97
  _log(f"[email] RESEND_API_KEY present? {bool(RESEND_API_KEY)}")
98
  _log(f"[email] RESEND_FROM='{RESEND_FROM}'")