diff options
Diffstat (limited to 'src/helpers')
-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 | } | ||