pwa icon
Build and Deploy Docker Images / build_and_deploy (push) Has been cancelled

This commit is contained in:
hamid zarghami
2026-06-06 14:42:18 +03:30
parent 1ce80f551c
commit c9d152fbaf
8 changed files with 35 additions and 27 deletions
+7 -5
View File
@@ -47,11 +47,13 @@ export default function RestaurantHeadManager() {
upsertLink("manifest", `/${name}/manifest.webmanifest`);
const logo = restaurant.logo?.trim();
const iconUrl =
logo && logo !== ""
? `/${name}/api/logo?url=${encodeURIComponent(logo)}&size=192`
: PWA_ICON_192;
// Restaurant logo disabled using static PWA icons (logo192.png / logo512.png)
// const logo = restaurant.logo?.trim();
// const iconUrl =
// logo && logo !== ""
// ? `/${name}/api/logo?url=${encodeURIComponent(logo)}&size=192`
// : PWA_ICON_192;
const iconUrl = PWA_ICON_192;
upsertLink("icon", iconUrl);
upsertLink("apple-touch-icon", iconUrl);