mirror of
https://github.com/syntrex-lab/gomcp.git
synced 2026-06-14 15:15:12 +02:00
feat: migrate email to syntrex.pro + add RESEND/CORS env vars to prod compose
- Default from-address: noreply@syntrex.pro - Password reset URL: syntrex.pro - docker-compose.prod.yml: RESEND_API_KEY, EMAIL_FROM, SOC_CORS_ORIGIN - CORS supports multi-origin (syntrex.pro + legacy domain)
This commit is contained in:
parent
4a1bd09a13
commit
1b028099be
2 changed files with 4 additions and 4 deletions
|
|
@ -146,7 +146,7 @@ func main() {
|
|||
|
||||
// Email service — Resend (set RESEND_API_KEY to enable real email delivery)
|
||||
if resendKey := env("RESEND_API_KEY", ""); resendKey != "" {
|
||||
fromAddr := env("EMAIL_FROM", "SYNTREX <noreply@xn--80akacl3adqr.xn--p1acf>")
|
||||
fromAddr := env("EMAIL_FROM", "SYNTREX <noreply@syntrex.pro>")
|
||||
resendSender := email.NewResendSender(resendKey, fromAddr)
|
||||
emailSvc := email.NewService(resendSender, "SYNTREX", fromAddr)
|
||||
srv.SetEmailService(emailSvc)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue