增加支持服务CNAME选项/提供重新生成服务CNAME API

This commit is contained in:
刘祥超
2021-10-16 12:02:42 +08:00
parent d30b10baee
commit 9b9c6471f7
4 changed files with 76 additions and 3 deletions

View File

@@ -721,6 +721,10 @@ func (this *NodeDAO) ComposeNodeConfig(tx *dbs.Tx, nodeId int64, cacheMap maps.M
continue
}
config.Servers = append(config.Servers, serverConfig)
if server.IsOn == 1 && server.SupportCNAME == 1 {
config.SupportCNAME = true
}
}
// 全局设置