From 6e92eb63303b69381f4dde564033725fd651f806 Mon Sep 17 00:00:00 2001 From: Liang Ding Date: Tue, 25 Oct 2022 10:29:50 +0800 Subject: [PATCH] =?UTF-8?q?:art:=20=E6=A1=8C=E9=9D=A2=E7=AB=AF=E5=86=85?= =?UTF-8?q?=E6=A0=B8=E8=BF=9B=E7=A8=8B=E4=BD=BF=E7=94=A8=E9=9A=8F=E6=9C=BA?= =?UTF-8?q?=E7=AB=AF=E5=8F=A3=20https://github.com/siyuan-note/siyuan/issu?= =?UTF-8?q?es/4952?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/src/config/about.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/config/about.ts b/app/src/config/about.ts index a14c887a6..9f00c719e 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(); });