diff --git a/src/serviceWorkerRegistration.ts b/src/serviceWorkerRegistration.ts index 24b3090a..7f77bb49 100644 --- a/src/serviceWorkerRegistration.ts +++ b/src/serviceWorkerRegistration.ts @@ -4,14 +4,6 @@ export function register(onUpdate: () => void) { try { const registration = await navigator.serviceWorker.register("/service-worker.js"); - setInterval(async () => { - try { - await registration.update(); - } catch (error) { - console.error("Error updating service worker:", error); - } - }, 1000 * 60); - registration.onupdatefound = () => { const installingWorker = registration.installing; if (installingWorker) {