From 29286f6d32dbe15c1f7973be1d774ae17bf03449 Mon Sep 17 00:00:00 2001 From: Yuzhong Zhang <141388234+BetterAndBetterII@users.noreply.github.com> Date: Sun, 6 Jul 2025 12:55:53 +0800 Subject: [PATCH] Update vite.config.mts --- excalidraw/excalidraw-app/vite.config.mts | 1 + 1 file changed, 1 insertion(+) diff --git a/excalidraw/excalidraw-app/vite.config.mts b/excalidraw/excalidraw-app/vite.config.mts index d6acd43..36c7f9b 100644 --- a/excalidraw/excalidraw-app/vite.config.mts +++ b/excalidraw/excalidraw-app/vite.config.mts @@ -76,6 +76,7 @@ export default defineConfig({ workbox: { // Don't push fonts and locales to app precache globIgnores: ["fonts.css", "**/locales/**", "service-worker.js"], + navigateFallbackDenylist: [/^\/api/, /^\/auth/], runtimeCaching: [ { urlPattern: new RegExp("/.+.(ttf|woff2|otf)"),