Skip to content

Commit

Permalink
fix: l'API ne doit pas être dans le SW
Browse files Browse the repository at this point in the history
  • Loading branch information
jillro committed Apr 30, 2024
1 parent b578cf7 commit 914e6bc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions vite.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ export default defineConfig(({ mode }) => {
includeAssets: ['*.woff2', '*.png', '*.svg', '*.jpg'],
workbox: {
maximumFileSizeToCacheInBytes: 5000000,
navigateFallbackDenylist: [/^\/api/, /^\/status\.txt/],
}
})
],
Expand Down

0 comments on commit 914e6bc

Please sign in to comment.