mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-20 16:40:13 +01:00
🎨 桌面端内核进程使用随机端口 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
|
Mode = *mode
|
||||||
Resident = *resident
|
Resident = *resident
|
||||||
ServerPort = *port
|
ServerPort = *port
|
||||||
if isRunningInDockerContainer() {
|
if isRunningInDockerContainer() || "dev" == Mode {
|
||||||
ServerPort = "6806"
|
ServerPort = "6806"
|
||||||
}
|
}
|
||||||
ReadOnly = *readOnly
|
ReadOnly = *readOnly
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue