在各个地方支持IPv6

This commit is contained in:
刘祥超
2021-07-20 10:55:25 +08:00
parent fb263c926b
commit 60b8e1041c
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
}
}