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: https://github.com/siyuan-note/siyuan/issues/12592
Vanessa76c9243ff86f
diff --git a/app/src/protyle/util/compatibility.ts b/app/src/protyle/util/compatibility.tsindex bcd7fffcae..d0fb6acfc0 100644--- a/app/src/protyle/util/compatibility.ts+++ b/app/src/protyle/util/compatibility.ts@@ -6,17 +6,8 @@ export const openByMobile = (uri: string) => {if (!uri) {return;}- if (window.siyuan.config.system.container === "ios") {- if (uri.startsWith("assets/")) {- window.location.href = uri;- } else {- try {- new URL(uri);- window.location.href = uri;- } catch (e) {- window.location.href = "https://" + uri;- }- }+ if (isInIOS()) {+ window.webkit.messageHandlers.openLink.postMessage(uri);} else if (isInAndroid()) {window.JSAndroid.openExternal(uri);} else {