From 2ffc8f9a4089485038ef4769200f2ae36330991f Mon Sep 17 00:00:00 2001 From: Liang Ding Date: Tue, 25 Oct 2022 10:28:35 +0800 Subject: [PATCH] =?UTF-8?q?:art:=20=E6=A1=8C=E9=9D=A2=E7=AB=AF=E5=86=85?= =?UTF-8?q?=E6=A0=B8=E8=BF=9B=E7=A8=8B=E4=BD=BF=E7=94=A8=E9=9A=8F=E6=9C=BA?= =?UTF-8?q?=E7=AB=AF=E5=8F=A3=20https://github.com/siyuan-note/siyuan/issu?= =?UTF-8?q?es/4952?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- kernel/util/working.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/util/working.go b/kernel/util/working.go index ab71d7755..9f188a9b8 100644 --- a/kernel/util/working.go +++ b/kernel/util/working.go @@ -78,7 +78,7 @@ func Boot() { Mode = *mode Resident = *resident ServerPort = *port - if isRunningInDockerContainer() { + if isRunningInDockerContainer() || "dev" == Mode { ServerPort = "6806" } ReadOnly = *readOnly