Skip to content

Commit

Permalink
fix: disable workbox caching on cdn routes
Browse files Browse the repository at this point in the history
  • Loading branch information
qin-guan committed Feb 2, 2024
1 parent 2b381f8 commit 8ac5dfc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions nuxt.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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: {
Expand Down

0 comments on commit 8ac5dfc

Please sign in to comment.