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/4952

Liang Ding6e92eb63303b
diff --git a/app/src/config/about.ts b/app/src/config/about.ts
index a14c887a67..9f00c719ea 100644
--- a/app/src/config/about.ts
+++ b/app/src/config/about.ts
@@ -358,7 +358,7 @@ export const about = {
});
const fixedPortElement = about.element.querySelector("#fixedPort") as HTMLInputElement;
fixedPortElement.addEventListener("change", () => {
- fetchPost("/api/system/setFixedPort", {networkServe: fixedPortElement.checked}, () => {
+ fetchPost("/api/system/setFixedPort", {fixedPort: fixedPortElement.checked}, () => {
exportLayout(false, () => {
exitSiYuan();
});