From 8ac5dfca63be56cfd994e52a84d5c985c1603147 Mon Sep 17 00:00:00 2001 From: Qin Guan Date: Sat, 3 Feb 2024 01:26:14 +0800 Subject: [PATCH] fix: disable workbox caching on cdn routes --- nuxt.config.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/nuxt.config.ts b/nuxt.config.ts index 5529719..c5f3d23 100644 --- a/nuxt.config.ts +++ b/nuxt.config.ts @@ -75,6 +75,7 @@ export default defineNuxtConfig({ globPatterns: ['**/*.{js,json,css,html,txt,svg,png,ico,webp,woff,woff2,ttf,eot,otf,wasm}'], navigateFallbackDenylist: [ /^\/pass/, // No caching on passes + /^\/cdn/, // No caching on CDN ], }, devOptions: {