From 3b5b471e05aa69f3d54a74388a94ce5a57a98258 Mon Sep 17 00:00:00 2001 From: Levi Zitting Date: Thu, 19 Sep 2024 21:37:15 -0500 Subject: [PATCH] fix: incorrect form post url --- src/components/Blocks/ContactForm/ContactForm.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/Blocks/ContactForm/ContactForm.tsx b/src/components/Blocks/ContactForm/ContactForm.tsx index 69dfe64..3cdc2bb 100644 --- a/src/components/Blocks/ContactForm/ContactForm.tsx +++ b/src/components/Blocks/ContactForm/ContactForm.tsx @@ -30,7 +30,7 @@ export function ContactForm(): JSX.Element { }; const handleSubmit = (e: any) => { - fetch('/__forms.html', { + fetch('/__form.html', { method: 'POST', headers: { 'Content-Type': 'application/x-www-form-urlencoded' }, body: encode({ 'form-name': 'contact', ...formField }),