Skip to content

Commit

Permalink
fix(pwa): force service worker auto-update
Browse files Browse the repository at this point in the history
  • Loading branch information
dvcol committed Aug 30, 2024
1 parent 94687af commit 0c647a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ const getPlugins = (_isDev: boolean, _isWeb: boolean): PluginOption[] => {
plugins.push(
VitePWA({
scope: '/trakt-extension/',
registerType: 'prompt',
registerType: 'autoUpdate',
includeAssets: ['**/favicon.ico', '**/*.svg', '**/*.png', '**/*.webp', '**/*.json'],
manifest: {
name: 'Side Trakt',
Expand Down

0 comments on commit 0c647a7

Please sign in to comment.