From ab9e2179b424eb54849f735c4f9c907ad7ef2a02 Mon Sep 17 00:00:00 2001 From: Vanessa Date: Mon, 28 Oct 2024 22:31:28 +0800 Subject: [PATCH] :art: https://github.com/siyuan-note/siyuan/issues/12038 --- app/src/protyle/util/compatibility.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/protyle/util/compatibility.ts b/app/src/protyle/util/compatibility.ts index e4e16c2e4..c3f4bdae8 100644 --- a/app/src/protyle/util/compatibility.ts +++ b/app/src/protyle/util/compatibility.ts @@ -9,7 +9,7 @@ export const openByMobile = (uri: string) => { if (isInIOS()) { if (uri.startsWith("assets/")) { window.webkit.messageHandlers.openLink.postMessage(encodeURI(location.origin + "/" + uri)); - } else if (uri.startsWith("/export/")) { + } else if (uri.startsWith("/")) { window.webkit.messageHandlers.openLink.postMessage(encodeURI(location.origin + uri)); } else { try {