fix ws-path

This commit is contained in:
zu1k
2020-08-14 11:02:26 +08:00
parent 01341f2894
commit d9790fb7c6

View File

@@ -207,6 +207,9 @@ func ParseVmessLink(link string) (*Vmess, error) {
wsHeaders["HOST"] = vmessJson.Host
}
if vmessJson.Path == "" {
vmessJson.Path = "/"
}
return &Vmess{
Base: Base{
Name: vmessJson.Ps + "_" + strconv.Itoa(rand.Int()),