mirror of
https://github.com/TeamPiped/Piped.git
synced 2024-08-14 23:57:27 +00:00
Add reload prompt for when a new update.
This commit is contained in:
parent
3c31e89f5e
commit
c8f9ae3441
5 changed files with 37 additions and 10 deletions
|
@ -19,7 +19,7 @@ export default defineConfig({
|
|||
targets: ["defaults", "not IE 11"],
|
||||
}),
|
||||
VitePWA({
|
||||
registerType: "autoUpdate",
|
||||
registerType: "prompt",
|
||||
workbox: {
|
||||
globPatterns: ["**/*.{js,css,html,ico,svg,png}", "manifest.webmanifest"],
|
||||
globIgnores: ["**/*-legacy-*.js"],
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue