Skip to content

Commit

Permalink
Try to fix service worker
Browse files Browse the repository at this point in the history
  • Loading branch information
shedaniel committed Jun 8, 2023
1 parent c8040b8 commit c78450c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion frontend/vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ export default defineConfig({
plugins: [
vue(),
VitePWA({
registerType: "autoUpdate",
includeAssets: [
"favicon.ico",
"favicon-32x32.png",
Expand Down Expand Up @@ -43,8 +44,9 @@ export default defineConfig({
display: "standalone",
},
workbox: {
cleanupOutdatedCaches: false,
cleanupOutdatedCaches: true,
sourcemap: true,
skipWaiting: true,
},
}),
prismjsPlugin({
Expand Down

0 comments on commit c78450c

Please sign in to comment.