[fix] append tuic to proxies

This commit is contained in:
snakem982 2023-12-02 12:56:52 +08:00 committed by Larvan2
parent cc6429722a
commit bc74c943b8

View file

@ -142,6 +142,8 @@ func ConvertsV2Ray(buf []byte) ([]map[string]any, error) {
tuic["udp-relay-mode"] = udpRelayMode tuic["udp-relay-mode"] = udpRelayMode
} }
proxies = append(proxies, tuic)
case "trojan": case "trojan":
urlTrojan, err := url.Parse(line) urlTrojan, err := url.Parse(line)
if err != nil { if err != nil {