@lvce-editor/main-process 6.37.5 → 6.37.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/mainProcessMain.js +4 -1
- package/package.json +1 -1
package/dist/mainProcessMain.js
CHANGED
|
@@ -6498,8 +6498,11 @@ const loadDefaultFavicon = async (event, url) => {
|
|
|
6498
6498
|
} catch {
|
|
6499
6499
|
return [];
|
|
6500
6500
|
}
|
|
6501
|
+
if (has(event.sender, url)) {
|
|
6502
|
+
return [];
|
|
6503
|
+
}
|
|
6501
6504
|
const favicons = await resolveNetworkFavicon([faviconUrl]);
|
|
6502
|
-
if (favicons.length === 0 || event.sender.getURL() !== url
|
|
6505
|
+
if (favicons.length === 0 || event.sender.getURL() !== url) {
|
|
6503
6506
|
return [];
|
|
6504
6507
|
}
|
|
6505
6508
|
return favicons;
|