更新文档
This commit is contained in:
+1
-1
@@ -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"),
|
||||
|
||||
Reference in New Issue
Block a user