Skip to content

Commit

Permalink
fix: vless without TLS link
Browse files Browse the repository at this point in the history
  • Loading branch information
arm64v8a committed Aug 24, 2023
1 parent 06aa1b1 commit c9ef22f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}

Expand Down

0 comments on commit c9ef22f

Please sign in to comment.