在各个地方支持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

@@ -23,7 +23,7 @@ Tea.context(function () {
if (addr.host.length == 0) {
this.address = addr.portRange
} else {
this.address = addr.host + ":" + addr.portRange
this.address = addr.host.quoteIP() + ":" + addr.portRange
}
}