fix: correct app.use()
This commit is contained in:
parent
f0fae1d559
commit
4f3a256158
|
@ -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',
|
||||
|
|
Loading…
Reference in New Issue