From dd973c55930a3043e8b5d2317bfa42187a79ec2a Mon Sep 17 00:00:00 2001 From: Spythere Date: Thu, 16 Feb 2023 14:44:21 +0100 Subject: [PATCH] hotfix: service worker --- src/main.ts | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/main.ts b/src/main.ts index ec0a36f..d628b58 100644 --- a/src/main.ts +++ b/src/main.ts @@ -7,11 +7,7 @@ import App from './App.vue'; const pinia = createPinia(); const updateSW = registerSW({ - onOfflineReady() {}, - - onNeedRefresh() { - console.log('Need refresh!'); - }, + immediate: true, }); createApp(App).use(pinia).mount('#app');