chore: exclude robots.txt and sitemap.xml from using fallback navigation (#2706)
This commit is contained in:
@@ -138,6 +138,7 @@ export default defineConfig({
|
|||||||
workbox: {
|
workbox: {
|
||||||
cleanupOutdatedCaches: true,
|
cleanupOutdatedCaches: true,
|
||||||
maximumFileSizeToCacheInBytes: 4194304,
|
maximumFileSizeToCacheInBytes: 4194304,
|
||||||
|
navigateFallbackDenylist: [/robots.txt/, /sitemap.xml/]
|
||||||
},
|
},
|
||||||
}),
|
}),
|
||||||
VitePluginFonts({
|
VitePluginFonts({
|
||||||
|
|||||||
Reference in New Issue
Block a user