🎨 桌面端内核进程使用随机端口 https://github.com/siyuan-note/siyuan/issues/4952
This commit is contained in:
parent
60906df6f2
commit
2ffc8f9a40
1 changed files with 1 additions and 1 deletions
|
@ -78,7 +78,7 @@ func Boot() {
|
|||
Mode = *mode
|
||||
Resident = *resident
|
||||
ServerPort = *port
|
||||
if isRunningInDockerContainer() {
|
||||
if isRunningInDockerContainer() || "dev" == Mode {
|
||||
ServerPort = "6806"
|
||||
}
|
||||
ReadOnly = *readOnly
|
||||
|
|
Loading…
Add table
Reference in a new issue