fix(VLESS): save flow without -udp443 (#453)

Closes #431
This commit is contained in:
HystericalDragon 2023-11-25 14:59:37 +08:00 committed by GitHub
parent c581dd2625
commit 857dcaf0d8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -251,8 +251,8 @@ fun StandardV2RayBean.parseDuckSoft(url: HttpUrl) {
}
url.queryParameter("flow")?.let {
if (isVLESS && it.contains("vision")) {
encryption = it
if (isVLESS) {
encryption = it.removeSuffix("-udp443")
}
}