mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-01-03 07:18:49 +01:00
🎨 桌面端内核进程使用随机端口 https://github.com/siyuan-note/siyuan/issues/4952
This commit is contained in:
parent
1ffdde034c
commit
efb6a2801d
3 changed files with 5 additions and 3 deletions
|
|
@ -275,7 +275,7 @@ func InitConf() {
|
|||
Conf.System.FixedPort = true
|
||||
}
|
||||
if Conf.System.FixedPort {
|
||||
util.ServerPort = "6806"
|
||||
util.ServerPort = util.FixedPort
|
||||
}
|
||||
|
||||
Conf.LocalIPs = util.GetLocalIPs()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue