From 22d3e6a204a65cd4c1b8c7609071771c9190bb4d Mon Sep 17 00:00:00 2001 From: eoao Date: Thu, 4 Sep 2025 00:29:34 +0800 Subject: [PATCH] =?UTF-8?q?=E7=A6=81=E7=94=A8Workbox?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- mail-vue/vite.config.js | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/mail-vue/vite.config.js b/mail-vue/vite.config.js index dac6853..bc003fc 100644 --- a/mail-vue/vite.config.js +++ b/mail-vue/vite.config.js @@ -33,7 +33,12 @@ export default defineConfig(({mode}) => { ], }, workbox: { - navigateFallbackDenylist: [/^\/api\/init/] + navigateFallbackDenylist: [/^\/api\/init/], + disableDevLogs: true, + globPatterns: [], + runtimeCaching: [], + navigateFallback: null, + cleanupOutdatedCaches: true, } }), AutoImport({