Serve both the controller and the display on the same endpoint

This commit is contained in:
Vojtěch Káně
2026-10-05 16:07:47 +02:00
parent e3602ac25e
commit 7f3f3e487a
3 changed files with 49 additions and 59 deletions
+1 -1
View File
@@ -52,7 +52,7 @@ document.addEventListener("touchmove", (e) => {
});
function sendNudge(x, y) {
fetch("/", {
fetch("", {
method: "POST",
headers: {"Content-Type": "application/json"},
referrer: "no-referrer",