fix: usar dominio sandbox de Resend para emails
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -18,7 +18,7 @@ export async function POST(req: NextRequest) {
|
|||||||
});
|
});
|
||||||
|
|
||||||
await resend.emails.send({
|
await resend.emails.send({
|
||||||
from: "Taller <noreply@taller.com>",
|
from: "Taller <onboarding@resend.dev>",
|
||||||
to: cliente.email,
|
to: cliente.email,
|
||||||
subject: "¡Bienvenido al taller!",
|
subject: "¡Bienvenido al taller!",
|
||||||
html: `
|
html: `
|
||||||
|
|||||||
@@ -24,7 +24,7 @@ export async function enviarMagicLink(email: string): Promise<{ ok: boolean; err
|
|||||||
const link = `${process.env.MAGIC_LINK_BASE_URL}/cliente/auth?token=${token}`;
|
const link = `${process.env.MAGIC_LINK_BASE_URL}/cliente/auth?token=${token}`;
|
||||||
|
|
||||||
await resend.emails.send({
|
await resend.emails.send({
|
||||||
from: "Taller <noreply@taller.com>",
|
from: "Taller <onboarding@resend.dev>",
|
||||||
to: email,
|
to: email,
|
||||||
subject: "Tu link de acceso al taller",
|
subject: "Tu link de acceso al taller",
|
||||||
html: `
|
html: `
|
||||||
|
|||||||
Reference in New Issue
Block a user