An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作
TypeScript agentic-aiai-agentknowledge-baselocal-firstmarkdownmcpmindmapnote-takingself-hostedsiyuanworkspace
:bug: fix https://github.com/siyuan-note/siyuan/issues/12584
Vanessafdf840cc5f99
diff --git a/app/src/protyle/util/compatibility.ts b/app/src/protyle/util/compatibility.tsindex d0fb6acfc0..a16d715223 100644--- a/app/src/protyle/util/compatibility.ts+++ b/app/src/protyle/util/compatibility.ts@@ -7,7 +7,16 @@ export const openByMobile = (uri: string) => {return;}if (isInIOS()) {- window.webkit.messageHandlers.openLink.postMessage(uri);+ if (uri.startsWith("assets/")) {+ window.webkit.messageHandlers.openLink.postMessage(location.origin + "/" + uri);+ } else {+ try {+ new URL(uri);+ window.webkit.messageHandlers.openLink.postMessage(uri);+ } catch (e) {+ window.webkit.messageHandlers.openLink.postMessage("https://" + uri);+ }+ }} else if (isInAndroid()) {window.JSAndroid.openExternal(uri);} else {