refactor to compatible with sing-box 1.11

This commit is contained in:
2025-01-20 15:08:49 +08:00
parent 22ae18120a
commit 0a6fe9da0c
13 changed files with 340 additions and 169 deletions

View File

@@ -91,9 +91,9 @@ func ParseHysteria(proxy string) (model.Outbound, error) {
},
}
return model.Outbound{Outbound: option.Outbound{
return model.Outbound{
Type: "hysteria",
Tag: remarks,
Options: outboundOptions,
}}, nil
}, nil
}