From 0587f5f9946fa72b2eea6411131a68b190fbd658 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=B8=89=E5=92=B2=E6=99=BA=E5=AD=90?= Date: Thu, 24 Nov 2022 22:31:43 +0800 Subject: [PATCH] fix(status): copy link --- components/status/StatusActions.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/status/StatusActions.vue b/components/status/StatusActions.vue index ca8bc2f2..00d35af2 100644 --- a/components/status/StatusActions.vue +++ b/components/status/StatusActions.vue @@ -60,7 +60,7 @@ const togglePin = async () => toggleStatusAction( ) const copyLink = async () => { - await clipboard.copy(location.href) + await clipboard.copy(`${location.origin}${getStatusPath(status)}`) } const openInOriginal = () => { window.open(status.url!, '_blank')