From 0860c55f397374e3b23ad536aa7e2d2a63e9ccb8 Mon Sep 17 00:00:00 2001 From: MrlingXD <90316914+wling-art@users.noreply.github.com> Date: Tue, 28 Jul 2026 15:42:51 +0800 Subject: [PATCH] =?UTF-8?q?:bug:=20fix:=20=E4=BF=AE=E5=A4=8D=20PWA=20?= =?UTF-8?q?=E7=BC=BA=E5=B0=91=20cleanupOutdatedCaches=20=E5=AF=BC=E8=87=B4?= =?UTF-8?q?=E6=97=A7=E7=BC=93=E5=AD=98=E4=B8=8D=E6=B8=85=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- astro.config.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/astro.config.ts b/astro.config.ts index 33184206..49ebcff6 100644 --- a/astro.config.ts +++ b/astro.config.ts @@ -1082,6 +1082,7 @@ export default defineConfig({ workbox: { skipWaiting: true, clientsClaim: true, + cleanupOutdatedCaches: true, navigateFallback: "/404", ignoreURLParametersMatching: [/./], globPatterns: ["**/*.{html,js,css,png,svg,json,ttf,pf_fragment,pf_index,pf_meta,pagefind,wasm}"]