fix: correct app.use()

This commit is contained in:
2025-08-21 18:20:16 -05:00
parent 4f3a256158
commit a475dde9be

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('api/submit-form', { fetch('/api/submit-form', {
method: 'POST', method: 'POST',
headers: { headers: {
'Content-Type': 'application/json', 'Content-Type': 'application/json',