Do not hardcode server name in Javascript files
This commit is contained in:
@@ -52,7 +52,7 @@ document.addEventListener("touchmove", (e) => {
|
||||
});
|
||||
|
||||
function sendNudge(x, y) {
|
||||
fetch("http://localhost:8080", {
|
||||
fetch("/", {
|
||||
method: "POST",
|
||||
headers: {"Content-Type": "application/json"},
|
||||
referrer: "no-referrer",
|
||||
|
||||
Reference in New Issue
Block a user