Skip to content

Commit 32d447c

Browse files
authored
fix: convert https (#2102)
1 parent 617fef8 commit 32d447c

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

common/convert/converter.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -560,6 +560,9 @@ func ConvertsV2Ray(buf []byte) ([]map[string]any, error) {
560560
socks["username"] = username
561561
socks["password"] = password
562562
socks["skip-cert-verify"] = true
563+
if scheme == "https" {
564+
socks["tls"] = true
565+
}
563566

564567
proxies = append(proxies, socks)
565568

0 commit comments

Comments
 (0)