From caa555986a6cb1f10674a896129f0117557ae790 Mon Sep 17 00:00:00 2001 From: Alex Gleason Date: Sat, 25 Oct 2025 11:14:05 -0500 Subject: [PATCH] Change ServiceWorker to prompt --- vite.config.ts | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/vite.config.ts b/vite.config.ts index 2a75a289..b716243d 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -29,15 +29,12 @@ export default defineConfig(() => ({ plugins: [ react(), VitePWA({ - registerType: 'autoUpdate', includeAssets: ['shakespeare.svg', 'shakespeare-192x192.png', 'shakespeare-512x512.png', 'sine.mp3'], manifest: false, // Use existing manifest.webmanifest from public folder workbox: { - globPatterns: ['**/*.{js,css,html,ico,png,svg,woff2}'], + globPatterns: ['**/*.{js,css,html,ico,png,svg,woff2,wasm,mp3}'], maximumFileSizeToCacheInBytes: 10 * 1024 * 1024, // 10 MB cleanupOutdatedCaches: true, - skipWaiting: true, - clientsClaim: true }, devOptions: { enabled: false,