pwa: zmiana na autoUpdate

This commit is contained in:
2023-06-02 19:41:33 +02:00
parent ea7c49dfb3
commit 145dc72b6b
2 changed files with 56 additions and 56 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "stacjownik",
"version": "1.15.0",
"version": "1.15.1",
"private": true,
"scripts": {
"dev": "vite",
+1 -1
View File
@@ -9,7 +9,7 @@ export default defineConfig({
plugins: [
vue(),
VitePWA({
registerType: 'prompt',
registerType: 'autoUpdate',
workbox: {
globPatterns: ['**/*.{js,css,html,png,svg,jpg}'],