chore: 服务端端口 8080 → 19540
This commit is contained in:
1 parent
bc8b1ee6c0
commit
c92b404f6e
3 files changed
+3
-3
No files matched your search
+1
-1
@@ -1,7 +1,7 @@
|
||||
# 服务端启动配置
|
||||
server:
|
||||
host: 0.0.0.0
|
||||
port: 8080
|
||||
port: 19540
|
||||
|
||||
# 运行时数据目录(数据库 / 备份 / 上传资源)
|
||||
dataDir: data
|
||||
|
||||
+1
-1
@@ -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,
|
||||
|
||||
@@ -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"},
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user