更新文档

This commit is contained in:
Alex Yang
2026-04-12 21:47:40 +08:00
parent f9e2e5a6bc
commit af366c6497
3 changed files with 79 additions and 32 deletions
+1 -1
View File
@@ -177,7 +177,7 @@ func LoadConfig(path string) (*Config, error) {
DomainSpecificDNS: parseDomainSpecificDNS(cfg.Section("dns")),
},
HTTP: HTTPConfig{
Port: cfg.Section("http").Key("port").MustInt(8080),
Port: cfg.Section("http").Key("port").MustInt(8081),
Host: cfg.Section("http").Key("host").MustString("0.0.0.0"),
EnableAPI: cfg.Section("http").Key("enableAPI").MustBool(true),
Username: cfg.Section("http").Key("username").MustString("admin"),