mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-05-20 19:10:49 +08:00
🎨 桌面端内核进程使用随机端口 https://github.com/siyuan-note/siyuan/issues/4952
This commit is contained in:
parent
2766ea6b97
commit
1ffdde034c
@ -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…
Reference in New Issue
Block a user