diff --git a/game/game.js b/game/game.js index b682ef2f2..48eb3c44b 100644 --- a/game/game.js +++ b/game/game.js @@ -244,7 +244,7 @@ new Promise((resolve) => { "serviceWorker" in navigator ) { let scope = - window.location.protocol + "//" + window.location.host + "/"; + window.location.protocol + "//" + window.location.host + window.location.pathname; navigator.serviceWorker .getRegistrations() .then(async (registrations) => {