fix: correct app.use()
This commit is contained in:
parent
4f3a256158
commit
a475dde9be
|
@ -131,7 +131,7 @@ form.addEventListener("submit", function(event) {
|
|||
};
|
||||
|
||||
// Send the data to the backend using fetch()
|
||||
fetch('api/submit-form', {
|
||||
fetch('/api/submit-form', {
|
||||
method: 'POST',
|
||||
headers: {
|
||||
'Content-Type': 'application/json',
|
||||
|
|
Loading…
Reference in New Issue