Added a fallback link in case we fail to fetch essentials favicon

This commit is contained in:
mr. M
2024-12-16 23:25:38 +01:00
parent 6c330fe4d2
commit d3421270b1

View File

@@ -494,7 +494,7 @@
return `data:${faviconData.mimeType};base64,${base64String}`;
} catch (ex) {
// console.error("Failed to get favicon:", ex);
return null;
return `page-icon:${pageUrl}`; // Use this as a fallback
}
}