mirror of
https://github.com/zen-browser/desktop.git
synced 2025-10-06 01:46:35 +00:00
Added a fallback link in case we fail to fetch essentials favicon
This commit is contained in:
@@ -494,7 +494,7 @@
|
|||||||
return `data:${faviconData.mimeType};base64,${base64String}`;
|
return `data:${faviconData.mimeType};base64,${base64String}`;
|
||||||
} catch (ex) {
|
} catch (ex) {
|
||||||
// console.error("Failed to get favicon:", ex);
|
// console.error("Failed to get favicon:", ex);
|
||||||
return null;
|
return `page-icon:${pageUrl}`; // Use this as a fallback
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user