fix: 移除runtimeCaching配置解决PWA no-response错误
Build Docker Image / Go Lint (push) Has been cancelled
Build Docker Image / Build Docker Image (push) Has been cancelled

This commit is contained in:
2026-04-23 06:40:27 +08:00
parent 8e1f419162
commit 41e507819e
4 changed files with 2 additions and 8 deletions
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
-6
View File
@@ -30,12 +30,6 @@ export default defineConfig(({mode}) => {
navigateFallbackDenylist: [/^\/api\//, /^\/x-/, /^\/access/],
skipWaiting: true,
clientsClaim: true,
runtimeCaching: [
{
urlPattern: ({url}) => !url.pathname.startsWith('/api/') && !url.pathname.startsWith('/x-') && !url.pathname.startsWith('/access'),
handler: 'NetworkOnly',
},
],
},
includeAssets: ['favicon.ico', 'apple-touch-icon.png', 'mask-icon.svg'],
manifest: {