在各个地方支持IPv6

This commit is contained in:
GoEdgeLab
2021-07-20 10:55:25 +08:00
parent a0b30ae23b
commit 320b325496
12 changed files with 59 additions and 16 deletions

View File

@@ -1,5 +1,5 @@
Tea.context(function () {
let addr = window.parent.UPDATING_ADDR
this.protocol = addr.protocol
this.addr = addr.host + ":" + addr.portRange
this.addr = addr.host.quoteIP() + ":" + addr.portRange
})