chore: cleanup default value in parseProxy

This commit is contained in:
wwqgtxx
2025-11-03 15:29:14 +08:00
parent 27b47f976c
commit 421dc79aea
2 changed files with 4 additions and 11 deletions

View File

@@ -49,13 +49,7 @@ func ParseProxy(mapping map[string]any) (C.Proxy, error) {
}
proxy, err = outbound.NewHttp(*httpOption)
case "vmess":
vmessOption := &outbound.VmessOption{
HTTPOpts: outbound.HTTPOptions{
Method: "GET",
Path: []string{"/"},
},
}
vmessOption := &outbound.VmessOption{}
err = decoder.Decode(mapping, vmessOption)
if err != nil {
break