mirror of
https://github.com/bestnite/sub2sing-box.git
synced 2025-10-28 01:31:19 +00:00
refactor to compatible with sing-box 1.11
This commit is contained in:
@@ -99,11 +99,9 @@ func ParseHysteria2(proxy string) (model.Outbound, error) {
|
||||
}
|
||||
|
||||
result := model.Outbound{
|
||||
Outbound: option.Outbound{
|
||||
Type: "hysteria2",
|
||||
Tag: strings.TrimSpace(remarks),
|
||||
Options: outboundOptions,
|
||||
},
|
||||
Type: "hysteria2",
|
||||
Tag: strings.TrimSpace(remarks),
|
||||
Options: outboundOptions,
|
||||
}
|
||||
|
||||
return result, nil
|
||||
|
||||
Reference in New Issue
Block a user