diff --git a/frontend/src/lib/components/ShortenerCard.svelte b/frontend/src/lib/components/ShortenerCard.svelte index 771e017..c861b30 100644 --- a/frontend/src/lib/components/ShortenerCard.svelte +++ b/frontend/src/lib/components/ShortenerCard.svelte @@ -84,8 +84,6 @@ isLoadingQrModal = false } - const hostDomain = 'https://' + shortener.link.split('/')[2] - const shortenerUrl = shortener.project?.enable_custom_domain ? shortener.project.custom_domain || shortener_url : shortener_url @@ -96,7 +94,8 @@ favicon diff --git a/frontend/src/routes/(app)/dashboard/projects/[id]/(components)/ShortenerCard.svelte b/frontend/src/routes/(app)/dashboard/projects/[id]/(components)/ShortenerCard.svelte index 25bba30..122dce0 100644 --- a/frontend/src/routes/(app)/dashboard/projects/[id]/(components)/ShortenerCard.svelte +++ b/frontend/src/routes/(app)/dashboard/projects/[id]/(components)/ShortenerCard.svelte @@ -69,8 +69,6 @@ isLoadingQrModal = false } - const hostDomain = 'https://' + shortener.link.split('/')[2] - const shortenerUrl = selected_project.enable_custom_domain ? selected_project.custom_domain || shortener_url : shortener_url @@ -81,7 +79,8 @@ favicon