mirror of
https://github.com/v2fly/v2ray-core.git
synced 2024-12-22 18:17:52 -05:00
Add support to allow tls=0 in vmess:// subscription
This commit is contained in:
parent
61ec84af98
commit
d799ceda98
@ -25,7 +25,7 @@
|
|||||||
{{end}}
|
{{end}}
|
||||||
|
|
||||||
{{ $security_type := tryGet . "root_!link_host_!base64_!json_tls_!unquoted" "root_!json_tls" "<default>"}}
|
{{ $security_type := tryGet . "root_!link_host_!base64_!json_tls_!unquoted" "root_!json_tls" "<default>"}}
|
||||||
{{ $security_type = $security_type | unalias "none" "" "false"}}
|
{{ $security_type = $security_type | unalias "none" "" "false" "0"}}
|
||||||
|
|
||||||
{{if assertValueIsOneOf $security_type "tls" "utls" "none"| not }}
|
{{if assertValueIsOneOf $security_type "tls" "utls" "none"| not }}
|
||||||
unknown security type {{end}}
|
unknown security type {{end}}
|
||||||
|
Loading…
Reference in New Issue
Block a user