fix: Exclude docs/redoc from (#7082)
This commit is contained in:
1 parent
c09cc5a323
commit
20e2d4e1a1
1 file changed
+1
-1
@@ -219,7 +219,7 @@ export default defineNuxtConfig({
|
||||
},
|
||||
workbox: {
|
||||
navigateFallback: "/",
|
||||
navigateFallbackAllowlist: [/^(?!\/api)/],
|
||||
navigateFallbackAllowlist: [/^(?!\/api|\/docs|\/redoc)/],
|
||||
globPatterns: ["**/*.{js,css,html,png,svg,ico}"],
|
||||
globIgnores: ["404.html", "200.html"],
|
||||
cleanupOutdatedCaches: true,
|
||||
|
||||
Reference in new issue
Block a user