支持任意域名通过CNAME访问服务(开启选项后)/可以重新生成服务CNAME

This commit is contained in:
GoEdgeLab
2021-10-16 12:03:21 +08:00
parent 1ada07f1f7
commit ec88c40b23
6 changed files with 100 additions and 17 deletions

View File

@@ -0,0 +1,14 @@
Tea.context(function () {
this.success = NotifyReloadSuccess("保存成功")
this.regenerateCNAME = function () {
let serverId = this.serverId
teaweb.confirm("确定要重新生成此服务的CNAME吗", function () {
this.$post(".regenerateCNAME")
.params({
serverId: serverId
})
.refresh()
})
}
})