diff --git a/package.json b/package.json index dff649d8e..6c9b30671 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "sub-store-front-end", - "version": "2.14.30", + "version": "2.14.31", "private": true, "scripts": { "dev": "vite --host", diff --git a/vite.config.ts b/vite.config.ts index 79aa15ae3..999bba329 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -94,7 +94,7 @@ const viteConfig = defineConfig((mode: ConfigEnv) => { ], }, workbox: { - navigateFallbackDenylist: [/^\/(api|download)\/.+/], + navigateFallbackDenylist: [/(^|\/.+)\/(api|download)\/.+/], // globPatterns: ['**/*.{css,js,gz,eot,html,svg,png,ico,ttf,woff2}'], runtimeCaching: [ {