fix: Exclude docs/redoc from (#7082)

This commit is contained in:
Michael Genson
2026-02-16 19:24:33 -06:00
committed by GitHub
parent c09cc5a323
commit 20e2d4e1a1

View File

@@ -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,