mirror of
https://github.com/elk-zone/elk.git
synced 2024-11-24 02:06:12 +03:00
fix: tag link (#1390)
This commit is contained in:
parent
edba79f6db
commit
c28c95e36c
1 changed files with 4 additions and 1 deletions
|
@ -7,7 +7,10 @@ const {
|
|||
tag: mastodon.v1.Tag
|
||||
}>()
|
||||
|
||||
const to = $computed(() => new URL(tag.url).pathname)
|
||||
const to = $computed(() => {
|
||||
const { hostname, pathname } = new URL(tag.url)
|
||||
return `/${hostname}${pathname}`
|
||||
})
|
||||
</script>
|
||||
|
||||
<template>
|
||||
|
|
Loading…
Reference in a new issue