diff --git a/functions/api/send-email.js b/functions/api/send-email.js index 298ff9b..be3551a 100644 --- a/functions/api/send-email.js +++ b/functions/api/send-email.js @@ -1,6 +1,7 @@ -** +/** * Cloudflare Pages Function - /api/send-email */ + export async function onRequestPost(context) { const { name, email, subject, message } = await context.request.json();