mirror of
https://github.com/Xoconoch/spotizerr.git
synced 2026-05-07 20:29:10 -05:00
exclude /api endpoints
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user