aboutsummaryrefslogtreecommitdiffstats
path: root/src/helpers
diff options
context:
space:
mode:
authorLibravatar André Oliveira <oliveira.andrerodrigues95@gmail.com>2024-05-03 00:54:12 +0100
committerLibravatar Vijay Aravamudhan <vraravam@users.noreply.github.com>2024-05-03 00:47:11 +0000
commit6c9475cfb6243b25420335f472a54d614716e55b (patch)
treec7397da4553f42967e2b9a7e96605fe9b55463e0 /src/helpers
parentfix: screenshare feature not working on Teams (#1733) (diff)
downloadferdium-app-6c9475cfb6243b25420335f472a54d614716e55b.tar.gz
ferdium-app-6c9475cfb6243b25420335f472a54d614716e55b.tar.zst
ferdium-app-6c9475cfb6243b25420335f472a54d614716e55b.zip
feat: use favicons instead of icons
Diffstat (limited to 'src/helpers')
-rw-r--r--src/helpers/favicon-helpers.ts3
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 @@
1export function getFaviconUrl(url: string, size: number = 128): string {
2 return `https://www.google.com/s2/favicons?sz=${size}&domain_url=${url}`;
3}