mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-02-28 05:32:52 +00:00
🎨 桌面端内核进程使用随机端口 https://github.com/siyuan-note/siyuan/issues/4952
This commit is contained in:
@@ -295,7 +295,7 @@ func setFixedPort(c *gin.Context) {
|
||||
}
|
||||
|
||||
fixedPort := arg["fixedPort"].(bool)
|
||||
model.Conf.FixedPort = fixedPort
|
||||
model.Conf.System.FixedPort = fixedPort
|
||||
model.Conf.Save()
|
||||
|
||||
util.PushMsg(model.Conf.Language(42), 1000*15)
|
||||
|
||||
Reference in New Issue
Block a user