diff --git a/tdkpin-rs/web/storage.js b/tdkpin-rs/web/storage.js index 016dfc7..2198613 100644 --- a/tdkpin-rs/web/storage.js +++ b/tdkpin-rs/web/storage.js @@ -4,7 +4,7 @@ const storageKey = "tdkpin.save.v1"; const encoder = new TextEncoder(); const decoder = new TextDecoder(); - const highScoreApi = "/api/highscores"; + const highScoreApi = "./api/highscores"; const highScoreRetryInitialDelayMs = 250; const highScoreRetryMaxDelayMs = 30_000; let lastRevision = 0;