Skip to content

Commit b41ea05

Browse files
committed
chore: add encryption to converter
1 parent e6fe895 commit b41ea05

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
@@ -221,6 +221,9 @@ func ConvertsV2Ray(buf []byte) ([]map[string]any, error) {
221221
if flow := query.Get("flow"); flow != "" {
222222
vless["flow"] = strings.ToLower(flow)
223223
}
224+
if encryption := query.Get("encryption"); encryption != "" {
225+
vless["encryption"] = encryption
226+
}
224227
proxies = append(proxies, vless)
225228

226229
case "vmess":

0 commit comments

Comments
 (0)