mirror of
https://github.com/Spythere/pojazdownik.git
synced 2026-05-05 04:28:10 +00:00
hotfix: service worker
This commit is contained in:
+1
-5
@@ -7,11 +7,7 @@ import App from './App.vue';
|
|||||||
const pinia = createPinia();
|
const pinia = createPinia();
|
||||||
|
|
||||||
const updateSW = registerSW({
|
const updateSW = registerSW({
|
||||||
onOfflineReady() {},
|
immediate: true,
|
||||||
|
|
||||||
onNeedRefresh() {
|
|
||||||
console.log('Need refresh!');
|
|
||||||
},
|
|
||||||
});
|
});
|
||||||
|
|
||||||
createApp(App).use(pinia).mount('#app');
|
createApp(App).use(pinia).mount('#app');
|
||||||
|
|||||||
Reference in New Issue
Block a user