This commit is contained in:
Sem van der Hoeven
2023-05-31 22:50:50 +02:00
parent 49a6991bb2
commit d1b51dd7f4
2 changed files with 4 additions and 3 deletions

View File

@@ -138,6 +138,7 @@
}
function send_move_request(data) {
console.log("sending move request " + data);
var xhr = new XMLHttpRequest();
xhr.open("POST", "/move", true);
xhr.setRequestHeader("Content-Type", "application/json");