Optimize web config to be installed as PWA (#10405)

* Update values and add site manifest

* Use appropriate icon types

* Add purpose to all

* Adjust dark theme color

* Remove unused
This commit is contained in:
Nicolas Mowen
2024-03-12 19:58:29 -06:00
committed by GitHub
parent 09cf54c731
commit b8e472643d
5 changed files with 31 additions and 0 deletions

28
web/site.webmanifest Normal file
View File

@@ -0,0 +1,28 @@
{
"name": "Frigate",
"short_name": "Frigate",
"start_url": "/",
"icons": [
{
"src": "/images/android-chrome-512x512.png",
"sizes": "512x512",
"type": "image/png",
"purpose": "any"
},
{
"src": "/images/android-chrome-192x192.png",
"sizes": "192x192",
"type": "image/png",
"purpose": "any"
},
{
"src": "/images/apple-touch-icon.png",
"sizes": "180x180",
"type": "image/png",
"purpose": "maskable"
}
],
"theme_color": "#ffffff",
"background_color": "#ffffff",
"display": "standalone"
}