mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-03-04 11:50:15 +01:00
🎨 桌面端内核进程使用随机端口 https://github.com/siyuan-note/siyuan/issues/4952
This commit is contained in:
parent
2ffc8f9a40
commit
6e92eb6330
1 changed files with 1 additions and 1 deletions
|
|
@ -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();
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue