aboutsummaryrefslogtreecommitdiffstats
path: root/src/helpers/favicon-helpers.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/helpers/favicon-helpers.ts')
-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}