From 26b42cc4a01f6d5829c0a48e39928ae9e1333858 Mon Sep 17 00:00:00 2001 From: dereklseitz Date: Thu, 21 Aug 2025 08:39:32 -0500 Subject: [PATCH] fix api call --- src/scripts/contact-form.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/scripts/contact-form.js b/src/scripts/contact-form.js index d993577..b315f9b 100644 --- a/src/scripts/contact-form.js +++ b/src/scripts/contact-form.js @@ -131,7 +131,7 @@ form.addEventListener("submit", function(event) { }; // Send the data to the backend using fetch() - fetch('/submit-form', { + fetch('/api/submit-form', { method: 'POST', headers: { 'Content-Type': 'application/json',