mirror of
https://github.com/TeaOSLab/EdgeAdmin.git
synced 2025-11-04 05:00:25 +08:00
12 lines
332 B
JavaScript
12 lines
332 B
JavaScript
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"
|
|
})
|
|
}
|
|
}) |