diff options
author | 2024-05-03 00:54:12 +0100 | |
---|---|---|
committer | 2024-05-03 00:47:11 +0000 | |
commit | 6c9475cfb6243b25420335f472a54d614716e55b (patch) | |
tree | c7397da4553f42967e2b9a7e96605fe9b55463e0 /src/helpers/favicon-helpers.ts | |
parent | fix: screenshare feature not working on Teams (#1733) (diff) | |
download | ferdium-app-6c9475cfb6243b25420335f472a54d614716e55b.tar.gz ferdium-app-6c9475cfb6243b25420335f472a54d614716e55b.tar.zst ferdium-app-6c9475cfb6243b25420335f472a54d614716e55b.zip |
feat: use favicons instead of icons
Diffstat (limited to 'src/helpers/favicon-helpers.ts')
-rw-r--r-- | src/helpers/favicon-helpers.ts | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/helpers/favicon-helpers.ts b/src/helpers/favicon-helpers.ts new file mode 100644 index 000000000..5743d938f --- /dev/null +++ b/src/helpers/favicon-helpers.ts | |||
@@ -0,0 +1,3 @@ | |||
1 | export function getFaviconUrl(url: string, size: number = 128): string { | ||
2 | return `https://www.google.com/s2/favicons?sz=${size}&domain_url=${url}`; | ||
3 | } | ||