mirror of
https://github.com/MatsuriDayo/NekoBoxForAndroid.git
synced 2025-12-20 15:10:05 +08:00
fix: vless without TLS link
This commit is contained in:
parent
06aa1b1c19
commit
c9ef22fe34
@ -146,7 +146,7 @@ fun StandardV2RayBean.parseDuckSoft(url: HttpUrl) {
|
|||||||
if (type == "h2") type = "http"
|
if (type == "h2") type = "http"
|
||||||
|
|
||||||
security = url.queryParameter("security")
|
security = url.queryParameter("security")
|
||||||
if (security == null) {
|
if (security.isNullOrBlank()) {
|
||||||
security = if (this is TrojanBean) "tls" else "none"
|
security = if (this is TrojanBean) "tls" else "none"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user