attempt to ignore download route in SW

This commit is contained in:
subnub
2025-02-21 13:38:01 -05:00
parent e58eff4c9a
commit bcf0b5003f
+10 -1
View File
@@ -11,7 +11,16 @@ export default defineConfig(({ mode }) => {
console.log(`\nBackend Development Proxy URL: ${proxyURL}/api\n`);
return {
plugins: [react(), visualizer()],
plugins: [
react(),
visualizer(),
VitePWA({
registerType: "autoUpdate",
workbox: {
navigateFallbackDenylist: [/^\/file-service\/download\//],
},
}),
],
build: {
outDir: "dist-frontend",
},