mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-02-28 05:32:52 +00:00
🎨 桌面端内核进程使用随机端口 https://github.com/siyuan-note/siyuan/issues/4952
This commit is contained in:
@@ -78,7 +78,7 @@ func Boot() {
|
||||
Mode = *mode
|
||||
Resident = *resident
|
||||
ServerPort = *port
|
||||
if isRunningInDockerContainer() {
|
||||
if isRunningInDockerContainer() || "dev" == Mode {
|
||||
ServerPort = "6806"
|
||||
}
|
||||
ReadOnly = *readOnly
|
||||
|
||||
Reference in New Issue
Block a user