Skip to content

Commit 0c647a7

Browse files
committed
fix(pwa): force service worker auto-update
1 parent 94687af commit 0c647a7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

vite.config.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ const getPlugins = (_isDev: boolean, _isWeb: boolean): PluginOption[] => {
127127
plugins.push(
128128
VitePWA({
129129
scope: '/trakt-extension/',
130-
registerType: 'prompt',
130+
registerType: 'autoUpdate',
131131
includeAssets: ['**/favicon.ico', '**/*.svg', '**/*.png', '**/*.webp', '**/*.json'],
132132
manifest: {
133133
name: 'Side Trakt',

0 commit comments

Comments
 (0)