mirror of
https://github.com/mealie-recipes/mealie.git
synced 2026-04-08 22:15:34 -04:00
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:
@@ -221,7 +221,7 @@ export default defineNuxtConfig({
|
|||||||
navigateFallback: "/",
|
navigateFallback: "/",
|
||||||
navigateFallbackAllowlist: [/^(?!\/api|\/docs)/],
|
navigateFallbackAllowlist: [/^(?!\/api|\/docs)/],
|
||||||
globPatterns: ["**/*.{js,css,html,png,svg,ico}"],
|
globPatterns: ["**/*.{js,css,html,png,svg,ico}"],
|
||||||
globIgnores: ["404.html", "200.html"],
|
globIgnores: ["404.html", "200.html", "index.html"],
|
||||||
cleanupOutdatedCaches: true,
|
cleanupOutdatedCaches: true,
|
||||||
skipWaiting: true,
|
skipWaiting: true,
|
||||||
clientsClaim: true,
|
clientsClaim: true,
|
||||||
|
|||||||
Reference in New Issue
Block a user