mirror of https://github.com/v2ray/v2ray-core
Fix host bug
parent
00aeb29e46
commit
ee22082fb4
|
@ -108,7 +108,7 @@ func wsDial(src v2net.Address, dest v2net.Destination) (*wsconn, error) {
|
|||
}(dest)
|
||||
|
||||
uri := func(dst v2net.Destination, pto string, path string) string {
|
||||
return fmt.Sprintf("%v://%v:%v/%v", pto, dst.NetAddr(), dst.Port(), path)
|
||||
return fmt.Sprintf("%v://%v/%v", pto, dst.NetAddr(), path)
|
||||
}(dest, effpto, effectiveConfig.Path)
|
||||
|
||||
conn, resp, err := dialer.Dial(uri, nil)
|
||||
|
|
Loading…
Reference in New Issue