From 0f0db729bf60c15bcfb920626062c5dabe2b1ec2 Mon Sep 17 00:00:00 2001 From: Vanessa Date: Fri, 21 Nov 2025 23:03:16 +0800 Subject: [PATCH] :art: https://github.com/siyuan-note/siyuan/pull/16415 --- app/src/protyle/toolbar/util.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/app/src/protyle/toolbar/util.ts b/app/src/protyle/toolbar/util.ts index 621e4e863..1978002c9 100644 --- a/app/src/protyle/toolbar/util.ts +++ b/app/src/protyle/toolbar/util.ts @@ -237,8 +237,7 @@ export const copyTextByType = async (ids: string[], const response = await fetchSyncPost("/api/filetree/getHPathByID", {id}); text += response.data; } else if (type === "webURL") { - const origin = window.location.origin; - text += `${origin}/?id=${id}`; + text += `${window.location.origin}/?id=${id}`; } else if (type === "id") { text += id; }