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

@@ -81,10 +81,8 @@ func ParseSocks(proxy string) (model.Outbound, error) {
}
return model.Outbound{
Outbound: option.Outbound{
Type: "socks",
Tag: remarks,
Options: outboundOptions,
},
Type: "socks",
Tag: remarks,
Options: outboundOptions,
}, nil
}