diff --git a/frontend/src/ts/ready.ts b/frontend/src/ts/ready.ts index 9a48c301c..b9d612428 100644 --- a/frontend/src/ts/ready.ts +++ b/frontend/src/ts/ready.ts @@ -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/")