fix: exclude index.html from workbox precache to prevent stale 401 app shell (#7255)

Co-authored-by: Michael Genson <71845777+michael-genson@users.noreply.github.com>
This commit is contained in:
api2062andMichael Genson authored and GitHub committed 2026-03-15 23:43:54 +00:00
1 parent 60d4a62f0a
commit ee550f4fe3
1 file changed
+1 -1
+1 -1
View File
@@ -221,7 +221,7 @@ export default defineNuxtConfig({
navigateFallback: "/",
navigateFallbackAllowlist: [/^(?!\/api|\/docs)/],
globPatterns: ["**/*.{js,css,html,png,svg,ico}"],
globIgnores: ["404.html", "200.html"],
globIgnores: ["404.html", "200.html", "index.html"],
cleanupOutdatedCaches: true,
skipWaiting: true,
clientsClaim: true,