Compare commits

...

2 Commits

Author SHA1 Message Date
Esteban Paz 99f870808b Merge pull request 'new send emails' (#24) from new-form into create_form
Reviewed-on: #24
2026-07-24 08:10:19 +00:00
David Ascanio 261473c60c new send emails 2026-07-23 00:08:21 -03:00
1 changed files with 2 additions and 1 deletions

View File

@ -66,7 +66,7 @@ export const POST: APIRoute = async ({ request }) => {
}
const emailApiKey = import.meta.env.EMAIL_API_KEY;
const emailResponse = await fetch("http://155.138.215.11:3050/email/send", {
const emailResponse = await fetch("https://flows2.carpa.com/webhook/email/send", {
method: "POST",
headers: {
"Content-Type": "application/json",
@ -78,6 +78,7 @@ export const POST: APIRoute = async ({ request }) => {
nombre,
email,
mensaje,
senderName : "Centro del Reino de Paz y Justicia",
},
}),
});