mirror of
https://gitlab.fdmci.hva.nl/technische-informatica-sm3/ti-projectten/rooziinuubii79.git
synced 2025-08-04 20:35:00 +00:00
Change fetch endpoint from /send-direction to /move
This commit is contained in:
@@ -7,7 +7,7 @@ document.querySelectorAll(".btn").forEach(button => {
|
||||
const direction = event.target.value;
|
||||
|
||||
// Verstuur de richting naar de server met fetch
|
||||
fetch("/send-direction", {
|
||||
fetch("/move", {
|
||||
method: "POST",
|
||||
headers: {
|
||||
"Content-Type": "application/json"
|
||||
|
Reference in New Issue
Block a user