aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--modern/vite.config.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/modern/vite.config.js b/modern/vite.config.js
index 9f6df445..200579da 100644
--- a/modern/vite.config.js
+++ b/modern/vite.config.js
@@ -19,6 +19,7 @@ export default defineConfig(() => ({
svgr(),
react(),
VitePWA({
+ registerType: 'autoUpdate',
workbox: {
navigateFallbackDenylist: [/^\/api/],
},