Remove navigateFallback option from Workbox configuration in vite.config.ts to streamline service worker setup.
This commit is contained in:
@@ -35,7 +35,6 @@ export default defineConfig({
|
|||||||
},
|
},
|
||||||
workbox: {
|
workbox: {
|
||||||
globPatterns: ['**/*.{js,css,html,ico,png,svg,woff2}'],
|
globPatterns: ['**/*.{js,css,html,ico,png,svg,woff2}'],
|
||||||
navigateFallback: '/',
|
|
||||||
cleanupOutdatedCaches: true
|
cleanupOutdatedCaches: true
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|||||||
Reference in New Issue
Block a user