diff options
author | Anton Tananaev <anton@traccar.org> | 2023-09-02 17:05:09 -0700 |
---|---|---|
committer | Anton Tananaev <anton@traccar.org> | 2023-09-02 17:05:09 -0700 |
commit | f076e87c4d48db7003c53aa597e8a9b3a4fe6dec (patch) | |
tree | 77c1ab4f1ebd006bed53b30606ce730927bb2292 | |
parent | 9bd75b29e3654e0854e3ae35741609dd24ceb218 (diff) | |
download | trackermap-web-f076e87c4d48db7003c53aa597e8a9b3a4fe6dec.tar.gz trackermap-web-f076e87c4d48db7003c53aa597e8a9b3a4fe6dec.tar.bz2 trackermap-web-f076e87c4d48db7003c53aa597e8a9b3a4fe6dec.zip |
Enable PWA auto-update
-rw-r--r-- | modern/vite.config.js | 1 |
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/], }, |