fix: QX tls

This commit is contained in:
xream
2023-08-22 00:08:53 +08:00
parent 99b19c410d
commit f8ed6a3342
2 changed files with 2 additions and 8 deletions

View File

@@ -334,11 +334,5 @@ function socks5(proxy) {
}
function needTls(proxy) {
return (
proxy.tls ||
proxy.sni ||
typeof proxy['skip-cert-verify'] !== 'undefined' ||
typeof proxy['tls-fingerprint'] !== 'undefined' ||
typeof proxy['tls-host'] !== 'undefined'
);
return proxy.tls;
}