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(); });