From c92d26d4b9c037a2d585b3e459930e6884fb8d76 Mon Sep 17 00:00:00 2001 From: Ashhhleyyy Date: Sat, 13 Aug 2022 22:55:51 +0100 Subject: [PATCH] fix(deploy): auto update PWA --- vite.config.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/vite.config.ts b/vite.config.ts index 272ea19..ece097c 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -7,6 +7,7 @@ export default defineConfig({ plugins: [ svelte(), VitePWA({ + registerType: 'autoUpdate', includeAssets: ['favicon.png', 'apple-touch-icon.png'], manifest: { name: 'Doodly',