aboutsummaryrefslogtreecommitdiffstats
path: root/app
diff options
context:
space:
mode:
authorMatt Strapp <matt@mattstrapp.net>2023-10-18 11:47:20 -0500
committerMatt Strapp <matt@mattstrapp.net>2023-10-18 11:47:20 -0500
commitc02f715d3aa7a2e23a49bd764014287a432878b2 (patch)
tree62f3d596af86d7330490153b7cc646fd685e49c9 /app
parentAdd License (diff)
downloadtrinkets-c02f715d3aa7a2e23a49bd764014287a432878b2.tar
trinkets-c02f715d3aa7a2e23a49bd764014287a432878b2.tar.gz
trinkets-c02f715d3aa7a2e23a49bd764014287a432878b2.tar.bz2
trinkets-c02f715d3aa7a2e23a49bd764014287a432878b2.tar.lz
trinkets-c02f715d3aa7a2e23a49bd764014287a432878b2.tar.xz
trinkets-c02f715d3aa7a2e23a49bd764014287a432878b2.tar.zst
trinkets-c02f715d3aa7a2e23a49bd764014287a432878b2.zip
sw: Prompt instead of auto update
Signed-off-by: Matt Strapp <matt@mattstrapp.net>
Diffstat (limited to 'app')
-rw-r--r--app/vite.config.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/vite.config.ts b/app/vite.config.ts
index a6bb285..5e5fa9f 100644
--- a/app/vite.config.ts
+++ b/app/vite.config.ts
@@ -40,7 +40,7 @@ export default defineConfig({
id: '/',
theme_color: '#000000',
},
- registerType: 'autoUpdate',
+ registerType: 'prompt',
workbox: {
globPatterns: ['client/**/*.{js,css,html,svg}'],
cleanupOutdatedCaches: true,