mirror of
https://github.com/TeaOSLab/EdgeAdmin.git
synced 2025-11-10 01:10:29 +08:00
在各个地方支持IPv6
This commit is contained in:
@@ -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
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user