move pwa manifest to backend
This commit is contained in:
parent
916e61897a
commit
20a2a3ccd0
23 changed files with 95 additions and 54 deletions
|
@ -39,27 +39,9 @@ export default defineConfig({
|
|||
VitePWA({
|
||||
registerType: "autoUpdate",
|
||||
injectRegister: "auto",
|
||||
includeAssets: ["favicon.png", "favicon.ico"],
|
||||
manifest: {
|
||||
name: "__APPNAMEOVERWRITE__",
|
||||
short_name: "__APPNAMEOVERWRITE__",
|
||||
theme_color: "#990b00",
|
||||
display: "standalone",
|
||||
start_url: "/",
|
||||
icons: [
|
||||
{
|
||||
src: "favicon.ico",
|
||||
sizes: "48x48",
|
||||
type: "image/ico",
|
||||
},
|
||||
{
|
||||
src: "favicon.png",
|
||||
sizes: "512x512",
|
||||
type: "image/png",
|
||||
},
|
||||
],
|
||||
},
|
||||
manifest: false,
|
||||
workbox: {
|
||||
navigateFallbackDenylist: [/^\/api*/],
|
||||
runtimeCaching: [
|
||||
{
|
||||
urlPattern: /^\/api\//,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue