]> git.immae.eu Git - github/bastienwirtz/homer.git/commitdiff
Disable service worker navigation fallback (Fix #486)
authorBastien Wirtz <bastien.wirtz@gmail.com>
Thu, 21 Jul 2022 20:08:50 +0000 (22:08 +0200)
committerBastien Wirtz <bastien.wirtz@gmail.com>
Thu, 21 Jul 2022 20:10:49 +0000 (22:10 +0200)
vite.config.js

index cee87279b94de8322c0231c1eebd3ecdf8efa7a8..f08041df61850076e72f62b5ff0ed8e34fdb9bb2 100644 (file)
@@ -34,6 +34,9 @@ export default defineConfig({
           },
         ],
       },
+      workbox: {
+        navigateFallback: null,
+      },
     }),
   ],
   resolve: {