Ver Fonte

fix: use @resend.dev sender (domain not verified on resend.com)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Claude Dev há 1 mês atrás
pai
commit
9a39a46f7a
1 ficheiros alterados com 3 adições e 3 exclusões
  1. 3 3
      packages/api/src/lib/email.ts

+ 3 - 3
packages/api/src/lib/email.ts

@@ -8,7 +8,7 @@ function getResend(): Resend | null {
   return _resend;
 }
 
-const FROM = process.env.EMAIL_FROM || 'VidReview <noreply@vid.k9tech.space>';
+const FROM = process.env.EMAIL_FROM || 'VidReview <onboarding@resend.dev>';
 const FRONTEND_URL = process.env.FRONTEND_URL || process.env.NEXT_PUBLIC_API_URL?.replace('/api', '') || 'http://localhost:3000';
 
 function buildInviteHtml(invite: {
@@ -147,7 +147,7 @@ function buildInviteHtml(invite: {
             <td align="center" style="padding-top:28px;">
               <p style="margin:0;font-size:12px;color:#4B5563;line-height:1.5;">
                 You're receiving this because an admin sent you an invite.<br/>
-                VidReview — vid.k9tech.space
+                VidReview
               </p>
             </td>
           </tr>
@@ -186,7 +186,7 @@ ${invite.inviteUrl}
 Invited email: ${invite.to}
 ${!isWorkspace ? `Role: ${roleLabel}\n` : ''}Expires in: ${invite.expiresDays} days
 
-VidReview — vid.k9tech.space`;
+VidReview`;
 }
 
 /** Skip email for .local domains (dev/test addresses) */