mirror of
https://github.com/anomalyco/opencode.git
synced 2026-08-25 03:01:49 +00:00
fix(app): defer service worker takeover (#44374)
Co-authored-by: Brendonovich <14191578+Brendonovich@users.noreply.github.com>
This commit is contained in:
parent
1cf61593b5
commit
750f3384ff
1 changed files with 3 additions and 1 deletions
|
|
@ -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(?:\/|$)/],
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue