Bug fixes

Don't add tls-verification to Quantumult X nodes if not over-tls (#413)
This commit is contained in:
Tindy X authored and GitHub committed 2021-12-06 14:09:45 +08:00
1 parent b0c2d72ed7
commit 223a32f7bb
1 file changed
+1 -1
+1 -1
View File
@@ -1397,7 +1397,7 @@ void proxyToQuanX(std::vector<Proxy> &nodes, INIReader &ini, std::vector<Ruleset
proxyStr += ", fast-open=" + tfo.get_str();
if(!udp.is_undef())
proxyStr += ", udp-relay=" + udp.get_str();
if(!scv.is_undef() && (x.Type == ProxyType::HTTP || x.Type == ProxyType::Trojan))
if(tlssecure && !scv.is_undef() && (x.Type == ProxyType::HTTP || x.Type == ProxyType::Trojan))
proxyStr += ", tls-verification=" + scv.reverse().get_str();
proxyStr += ", tag=" + remark;