mirror of
https://github.com/TeaOSLab/EdgeAdmin.git
synced 2025-11-15 13:00:25 +08:00
支持任意域名通过CNAME访问服务(开启选项后)/可以重新生成服务CNAME
This commit is contained in:
14
web/views/@default/servers/server/settings/dns/index.js
Normal file
14
web/views/@default/servers/server/settings/dns/index.js
Normal 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()
|
||||
})
|
||||
}
|
||||
})
|
||||
Reference in New Issue
Block a user