集群DNS子域名可以随机生成

This commit is contained in:
刘祥超
2022-04-18 18:19:30 +08:00
parent 6afecb5708
commit caf9eeae2e
4 changed files with 28 additions and 3 deletions

View File

@@ -39,6 +39,7 @@ func init() {
// DNS
Prefix("/clusters/cluster/settings/dns").
GetPost("", new(dns.IndexAction)).
Post("/randomName", new(dns.RandomNameAction)).
// 消息
Prefix("/clusters/cluster/settings/message").
@@ -78,7 +79,6 @@ func init() {
// WebP
Prefix("/clusters/cluster/settings/webp").
GetPost("", new(webp.IndexAction)).
EndAll()
})
}