ws-path not none

This commit is contained in:
zu1k
2020-08-14 10:58:32 +08:00
parent 36f7fb11b0
commit 01341f2894

View File

@@ -153,6 +153,9 @@ func ParseVmessLink(link string) (*Vmess, error) {
}
//obfsParam := moreInfo.Get("obfsParam")
path := moreInfo.Get("path")
if path == "" {
path = "/"
}
tls := moreInfo.Get("tls") == "1"
wsHeaders := make(map[string]string)