Add manifest.json with app metadata, theme colors, and icon configuration for installable PWA. Add service worker (sw.js) with shell caching strategy for offline support - caches static assets on install, cleans old caches on activate, and implements network-first fetch with cache fallback for non-API requests. Update index.html with PWA meta tags (theme-color, mobile
15 lines
409 B
JSON
15 lines
409 B
JSON
{
|
|
"name": "Media Language Dashboard",
|
|
"short_name": "Media Dashboard",
|
|
"description": "Radarr, Sonarr und SABnzbd im Überblick",
|
|
"start_url": "/",
|
|
"scope": "/",
|
|
"display": "standalone",
|
|
"background_color": "#151619",
|
|
"theme_color": "#1f252d",
|
|
"orientation": "any",
|
|
"icons": [
|
|
{"src": "/static/media-mark.svg", "sizes": "any", "type": "image/svg+xml", "purpose": "any maskable"}
|
|
]
|
|
}
|