mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-02-22 22:03:30 +08:00
oops
This commit is contained in:
parent
1344c600d8
commit
476f39ca72
1 changed files with 1 additions and 1 deletions
|
@ -72,7 +72,7 @@ if ("serviceWorker" in navigator) {
|
|||
window.addEventListener("load", () => {
|
||||
// disabling service workers on localhost - they dont really work well with local development
|
||||
// and cause issues with hot reloading
|
||||
if (window.location.hostname === "localhos") {
|
||||
if (window.location.hostname === "localhost") {
|
||||
navigator.serviceWorker.getRegistrations().then(function (registrations) {
|
||||
for (const registration of registrations) {
|
||||
// if (registration.scope !== "https://monkeytype.com/")
|
||||
|
|
Loading…
Reference in a new issue