Skip to content

An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作

:art: https://github.com/siyuan-note/siyuan/issues/17148

Daniel013306f94937
diff --git a/app/src/index.ts b/app/src/index.ts
index c28901f472..1091a0af21 100644
--- a/app/src/index.ts
+++ b/app/src/index.ts
@@ -192,7 +192,7 @@ export class App {
openFileById({app: this, id: data.data.id, action: [Constants.CB_GET_FOCUS]});
break;
case "exit":
- if (isBrowser()) {
+ if (isBrowser() && !isInMobileApp()) {
window.location.href = "about:blank";
}
}