This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user