fix api call

This commit is contained in:
2025-08-21 08:39:32 -05:00
parent 5cdf98c389
commit 26b42cc4a0

View File

@@ -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',