|
|
@@ -1181,19 +1181,8 @@ if is_finded("xray") then
|
|
|
end
|
|
|
o.rmempty = true
|
|
|
o:depends({type = "v2ray", v2ray_protocol = "vless", transport = "raw", tls = true})
|
|
|
- o:depends({type = "v2ray", v2ray_protocol = "vless", transport = "raw", reality = true})
|
|
|
-
|
|
|
- o = s:option(ListValue, "xhttp_tls_flow", translate("Flow"))
|
|
|
- for _, v in ipairs(tls_flows) do
|
|
|
- if v == "none" then
|
|
|
- o.default = "none"
|
|
|
- o:value("none", translate("none"))
|
|
|
- else
|
|
|
- o:value("xtls-rprx-vision", translate("xtls-rprx-vision"))
|
|
|
- end
|
|
|
- end
|
|
|
- o.rmempty = true
|
|
|
o:depends({type = "v2ray", v2ray_protocol = "vless", transport = "xhttp", tls = true})
|
|
|
+ o:depends({type = "v2ray", v2ray_protocol = "vless", transport = "raw", reality = true})
|
|
|
o:depends({type = "v2ray", v2ray_protocol = "vless", transport = "xhttp", reality = true})
|
|
|
|
|
|
-- [[ uTLS ]]--
|
|
|
@@ -1305,6 +1294,7 @@ o.rmempty = false
|
|
|
o:depends("tls", true)
|
|
|
o:depends("type", "hysteria2")
|
|
|
o:depends("type", "tuic")
|
|
|
+o:depends({type = "v2ray", v2ray_protocol = "vless", reality = true})
|
|
|
o.description = translate("If true, allowss insecure connection at TLS client, e.g., TLS server uses unverifiable certificates.")
|
|
|
|
|
|
-- [[ Hysteria2 TLS pinSHA256 ]] --
|