mirror of
https://github.com/TeaOSLab/EdgeAdmin.git
synced 2025-11-11 18:30:25 +08:00
增加API节点安装配置界面
This commit is contained in:
12
web/views/@default/api/node/update.js
Normal file
12
web/views/@default/api/node/update.js
Normal file
@@ -0,0 +1,12 @@
|
||||
Tea.context(function () {
|
||||
this.success = NotifySuccess("保存成功", "/api/node?nodeId=" + this.node.id)
|
||||
|
||||
this.hasHTTPS = this.node.listens.$any(function (k, v) {
|
||||
return v.protocol == "https"
|
||||
})
|
||||
this.changeListens = function (addrs) {
|
||||
this.hasHTTPS = addrs.$any(function (k, v) {
|
||||
return v.protocol == "https"
|
||||
})
|
||||
}
|
||||
})
|
||||
Reference in New Issue
Block a user