Skip to content

Commit

Permalink
fix(sw): switch to prompt based update
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel Aschwanden committed Feb 14, 2024
1 parent a41097e commit 007181c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ui/vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ export default defineConfig({
typescript: true,
}),
VitePWA({
registerType: "autoUpdate",
registerType: "prompt",
injectRegister: "auto",
workbox: {
globPatterns: ["**/*.{js,css,html,ico,png,svg,woff2}"],
Expand Down Expand Up @@ -66,7 +66,7 @@ export default defineConfig({
start_url: ".",
theme_color: "#000000",
background_color: "#ffffff",
},
}
}),
],
resolve: {
Expand Down

0 comments on commit 007181c

Please sign in to comment.