From 0751358e5b926a7a1fa2db895ad62a03a5ddc65f Mon Sep 17 00:00:00 2001 From: Stephen Horvath Date: Fri, 5 May 2023 09:04:24 +1000 Subject: [PATCH] Fix site.webmanifest + add svg as favicon (#6304) --- web/images/{safari-pinned-tab.svg => favicon.svg} | 0 web/index.html | 3 ++- .../icons}/android-chrome-192x192.png | Bin .../icons}/android-chrome-512x512.png | Bin web/site.webmanifest | 8 ++++---- 5 files changed, 6 insertions(+), 5 deletions(-) rename web/images/{safari-pinned-tab.svg => favicon.svg} (100%) rename web/{images => public/icons}/android-chrome-192x192.png (100%) rename web/{images => public/icons}/android-chrome-512x512.png (100%) diff --git a/web/images/safari-pinned-tab.svg b/web/images/favicon.svg similarity index 100% rename from web/images/safari-pinned-tab.svg rename to web/images/favicon.svg diff --git a/web/index.html b/web/index.html index db87d3536..bd3e829e1 100644 --- a/web/index.html +++ b/web/index.html @@ -8,8 +8,9 @@ + - + diff --git a/web/images/android-chrome-192x192.png b/web/public/icons/android-chrome-192x192.png similarity index 100% rename from web/images/android-chrome-192x192.png rename to web/public/icons/android-chrome-192x192.png diff --git a/web/images/android-chrome-512x512.png b/web/public/icons/android-chrome-512x512.png similarity index 100% rename from web/images/android-chrome-512x512.png rename to web/public/icons/android-chrome-512x512.png diff --git a/web/site.webmanifest b/web/site.webmanifest index 91aedef05..1f44b8456 100644 --- a/web/site.webmanifest +++ b/web/site.webmanifest @@ -1,14 +1,14 @@ { - "name": "", - "short_name": "", + "name": "Frigate", + "short_name": "Frigate", "icons": [ { - "src": "/images/android-chrome-192x192.png", + "src": "/icons/android-chrome-192x192.png", "sizes": "192x192", "type": "image/png" }, { - "src": "/images/android-chrome-512x512.png", + "src": "/icons/android-chrome-512x512.png", "sizes": "512x512", "type": "image/png" }