mirror of
https://github.com/TeaOSLab/EdgeAdmin.git
synced 2025-11-12 19:30:26 +08:00
优化交互
This commit is contained in:
@@ -9,6 +9,8 @@ Tea.context(function () {
|
||||
// 初始化
|
||||
if (this.protocol == "http") {
|
||||
this.address = "80"
|
||||
} else if (this.protocol == "https") {
|
||||
this.address = "443"
|
||||
}
|
||||
|
||||
if (window.parent.UPDATING_ADDR != null) {
|
||||
@@ -29,6 +31,7 @@ Tea.context(function () {
|
||||
break
|
||||
case "https":
|
||||
this.address = "443"
|
||||
break
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user