diff --git a/components/LinkIcon.vue b/components/LinkIcon.vue index 5cfce7e..21233ee 100644 --- a/components/LinkIcon.vue +++ b/components/LinkIcon.vue @@ -7,14 +7,14 @@ const props = defineProps() function getOrigin(url: string) { const urlx = new URL(url) - return urlx.origin.toString() + return urlx.host.toString() }