fix api call

This commit is contained in:
Derek L. Seitz 2025-08-21 08:39:32 -05:00
parent 5cdf98c389
commit 26b42cc4a0
1 changed files with 1 additions and 1 deletions

View File

@ -131,7 +131,7 @@ form.addEventListener("submit", function(event) {
}; };
// Send the data to the backend using fetch() // Send the data to the backend using fetch()
fetch('/submit-form', { fetch('/api/submit-form', {
method: 'POST', method: 'POST',
headers: { headers: {
'Content-Type': 'application/json', 'Content-Type': 'application/json',