@dust-tt/sparkle 0.3.21 → 0.3.22
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.
|
@@ -36,7 +36,7 @@ export function FaviconIcon(_a) {
|
|
|
36
36
|
if (!finalFaviconUrl && websiteUrl) {
|
|
37
37
|
try {
|
|
38
38
|
var domain = new URL(websiteUrl).hostname;
|
|
39
|
-
finalFaviconUrl = "https://www.google.com/s2/favicons?domain=".concat(domain, "&sz=
|
|
39
|
+
finalFaviconUrl = "https://www.google.com/s2/favicons?domain=".concat(domain, "&sz=64");
|
|
40
40
|
}
|
|
41
41
|
catch (_e) {
|
|
42
42
|
// Invalid URL, fallback to icon
|
package/package.json
CHANGED
|
@@ -52,7 +52,7 @@ export function FaviconIcon({
|
|
|
52
52
|
if (!finalFaviconUrl && websiteUrl) {
|
|
53
53
|
try {
|
|
54
54
|
const domain = new URL(websiteUrl).hostname;
|
|
55
|
-
finalFaviconUrl = `https://www.google.com/s2/favicons?domain=${domain}&sz=
|
|
55
|
+
finalFaviconUrl = `https://www.google.com/s2/favicons?domain=${domain}&sz=64`;
|
|
56
56
|
} catch {
|
|
57
57
|
// Invalid URL, fallback to icon
|
|
58
58
|
}
|