fix: vless without TLS link

This commit is contained in:
arm64v8a 2023-08-24 15:53:45 +09:00
parent 06aa1b1c19
commit c9ef22fe34

View File

@ -146,7 +146,7 @@ fun StandardV2RayBean.parseDuckSoft(url: HttpUrl) {
if (type == "h2") type = "http"
security = url.queryParameter("security")
if (security == null) {
if (security.isNullOrBlank()) {
security = if (this is TrojanBean) "tls" else "none"
}