cache with service worker

This commit is contained in:
Paul Miller
2023-11-17 17:16:30 -06:00
parent f1e80cc475
commit 43faf46eb7
7 changed files with 171 additions and 137 deletions

View File

@@ -2,6 +2,7 @@ import { ManifestOptions } from "vite-plugin-pwa";
const manifest: Partial<ManifestOptions> = {
name: "Mutiny Wallet",
orientation: "portrait",
short_name: "Mutiny",
description: "A lightning wallet",
theme_color: "#000",
@@ -489,7 +490,7 @@ const manifest: Partial<ManifestOptions> = {
src: "/images/send.png",
sizes: "192x192",
type: "image/png"
},
}
]
},
{
@@ -501,7 +502,7 @@ const manifest: Partial<ManifestOptions> = {
src: "/images/receive.png",
sizes: "192x192",
type: "image/png"
},
}
]
},
{
@@ -513,7 +514,7 @@ const manifest: Partial<ManifestOptions> = {
src: "/images/activity.png",
sizes: "192x192",
type: "image/png"
},
}
]
}
]