From c2660ccff12e354267e08f0642b865ac392f901f Mon Sep 17 00:00:00 2001 From: Xoconoch Date: Tue, 5 Aug 2025 11:26:28 -0600 Subject: [PATCH] exclude /api endpoints --- spotizerr-ui/vite.config.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spotizerr-ui/vite.config.ts b/spotizerr-ui/vite.config.ts index b589340..fbe71b0 100644 --- a/spotizerr-ui/vite.config.ts +++ b/spotizerr-ui/vite.config.ts @@ -62,7 +62,7 @@ export default defineConfig({ workbox: { globPatterns: ['**/*.{js,css,html,ico,png,svg,woff2}'], navigateFallback: 'index.html', - navigateFallbackDenylist: [/^\/_/, /\/[^/?]+\.[^/]+$/], + navigateFallbackDenylist: [/^\/_/, /\/[^/?]+\.[^/]+$/, /^\/api\//], runtimeCaching: [ { urlPattern: /^https:\/\/api\./i,