🎨 桌面端内核进程使用随机端口 https://github.com/siyuan-note/siyuan/issues/4952
This commit is contained in:
parent
2766ea6b97
commit
1ffdde034c
1 changed files with 3 additions and 0 deletions
|
@ -274,6 +274,9 @@ func InitConf() {
|
|||
if util.ContainerStd != util.Container {
|
||||
Conf.System.FixedPort = true
|
||||
}
|
||||
if Conf.System.FixedPort {
|
||||
util.ServerPort = "6806"
|
||||
}
|
||||
|
||||
Conf.LocalIPs = util.GetLocalIPs()
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue