提供管理界面的HTTP/HTTPS修改功能

This commit is contained in:
GoEdgeLab
2020-10-15 16:41:32 +08:00
parent 9c9fbcd45d
commit c5b48bd3f8
34 changed files with 596 additions and 73 deletions

View File

@@ -0,0 +1,19 @@
Tea.context(function () {
this.updateHTTP = function () {
teaweb.popup("/settings/ui/updateHTTPPopup", {
callback: function () {
teaweb.success("保存成功", teaweb.reload)
}
})
}
this.updateHTTPS = function () {
teaweb.popup("/settings/ui/updateHTTPSPopup", {
height: "26em",
width:"50em",
callback: function () {
teaweb.success("保存成功", teaweb.reload)
}
})
}
})