Update vite.config.mts

This commit is contained in:
Yuzhong Zhang
2025-07-06 12:55:53 +08:00
parent 356f0280c4
commit 29286f6d32
@@ -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)"),