fix(app): defer service worker takeover (#44374)

Co-authored-by: Brendonovich <14191578+Brendonovich@users.noreply.github.com>
This commit is contained in:
opencode-agent[bot]
2026-08-23 18:52:45 +08:00
committed by GitHub
parent 1cf61593b5
commit 750f3384ff
+3 -1
View File
@@ -25,11 +25,13 @@ export default defineConfig({
desktopPlugin,
VitePWA({
strategies: "generateSW",
registerType: "prompt",
injectRegister: false,
manifest: false,
workbox: {
cleanupOutdatedCaches: true,
clientsClaim: true,
clientsClaim: false,
skipWaiting: false,
inlineWorkboxRuntime: true,
navigateFallback: "/index.html",
navigateFallbackDenylist: [/^\/api(?:\/|$)/],