From c92b404f6e2a71371c6b7a2659cabd2d461d98c8 Mon Sep 17 00:00:00 2001 From: AskaEth Date: Wed, 9 Sep 2026 19:09:05 +0800 Subject: [PATCH] =?UTF-8?q?chore:=20=E6=9C=8D=E5=8A=A1=E7=AB=AF=E7=AB=AF?= =?UTF-8?q?=E5=8F=A3=208080=20=E2=86=92=2019540?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- config.yaml | 2 +- console/config.json | 2 +- server/internal/config/config.go | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/config.yaml b/config.yaml index 13cff93..9f68414 100644 --- a/config.yaml +++ b/config.yaml @@ -1,7 +1,7 @@ # 服务端启动配置 server: host: 0.0.0.0 - port: 8080 + port: 19540 # 运行时数据目录(数据库 / 备份 / 上传资源) dataDir: data diff --git a/console/config.json b/console/config.json index 3c33b27..7d09224 100644 --- a/console/config.json +++ b/console/config.json @@ -3,7 +3,7 @@ "exe": "scoreboard.exe", "args": ["-config", "config.yaml"], "host": "127.0.0.1", - "port": 8080, + "port": 19540, "autoStart": true, "healthIntervalMs": 5000, "restartDelayMs": 3000, diff --git a/server/internal/config/config.go b/server/internal/config/config.go index 743b8c7..cdb5611 100644 --- a/server/internal/config/config.go +++ b/server/internal/config/config.go @@ -31,7 +31,7 @@ type Log struct { // Default 返回一份可直接使用的默认配置。 func Default() *Config { return &Config{ - Server: Server{Host: "0.0.0.0", Port: 8080}, + Server: Server{Host: "0.0.0.0", Port: 19540}, DataDir: "data", Log: Log{Level: "info"}, }