在节点详情中显示API节点地址/DNS节点也支持自定义API节点地址

This commit is contained in:
GoEdgeLab
2022-11-21 21:08:17 +08:00
parent ea95391d87
commit 8e36eabd96
8 changed files with 4352 additions and 3966 deletions

View File

@@ -353,6 +353,16 @@ func (this *NodeConfig) Init() (err error, serverErrors []*ServerError) {
}
}
// api node addrs
if len(this.APINodeAddrs) > 0 {
for _, addr := range this.APINodeAddrs {
err := addr.Init()
if err != nil {
return err, nil
}
}
}
return
}