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');