源站地址填写为HTTP时,自动检测HTTPS是否可用

This commit is contained in:
GoEdgeLab
2024-04-18 11:31:47 +08:00
parent 6be870d1d8
commit b2b6918329
9 changed files with 166 additions and 12 deletions

View File

@@ -45,6 +45,7 @@ Tea.context(function () {
this.addOrigin = function () {
teaweb.popup("/servers/addOriginPopup?serverType=" + this.serverType, {
width: "45em",
height: "27em",
callback: function (resp) {
this.origins.push(resp.data.origin);