move pwa manifest to backend

This commit is contained in:
Julian Krauser 2025-04-24 16:49:14 +02:00
parent 916e61897a
commit 20a2a3ccd0
23 changed files with 95 additions and 54 deletions

View file

@ -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\//,