vmess ws-header ignore none

This commit is contained in:
zu1k
2020-08-14 10:34:43 +08:00
parent 272a1c1277
commit 5ec8cfcc43

View File

@@ -196,7 +196,9 @@ func ParseVmessLink(link string) (*Vmess, error) {
tls := vmessJson.Tls == "tls"
wsHeaders := make(map[string]string)
wsHeaders["HOST"] = vmessJson.Host
if vmessJson.Host != "" {
wsHeaders["HOST"] = vmessJson.Host
}
return &Vmess{
Base: Base{