From 1ffdde034c445578f7300d0fb8bb698e5eb99501 Mon Sep 17 00:00:00 2001 From: Liang Ding Date: Tue, 25 Oct 2022 11:53:46 +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/model/conf.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/kernel/model/conf.go b/kernel/model/conf.go index bcf7f8580..054406d8b 100644 --- a/kernel/model/conf.go +++ b/kernel/model/conf.go @@ -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()