fix: relative api/highscores path

This commit is contained in:
2026-08-29 18:46:10 +02:00
parent 86434aaa2b
commit 7ee2e71bc7
+1 -1
View File
@@ -4,7 +4,7 @@
const storageKey = "tdkpin.save.v1"; const storageKey = "tdkpin.save.v1";
const encoder = new TextEncoder(); const encoder = new TextEncoder();
const decoder = new TextDecoder(); const decoder = new TextDecoder();
const highScoreApi = "/api/highscores"; const highScoreApi = "api/highscores";
let lastRevision = 0; let lastRevision = 0;
let lastHighScoreRevision = 0; let lastHighScoreRevision = 0;
let highScoreRequestInFlight = false; let highScoreRequestInFlight = false;