Add back condition for adding tls-verification flag for Quantumult X

This commit is contained in:
Tindy X committed 2020-04-25 09:41:50 +08:00
1 parent 08c5b571c8
commit cb6f6ec6e9
1 file changed
+1 -1
+1 -1
View File
@@ -2114,7 +2114,7 @@ void netchToQuanX(std::vector<nodeInfo> &nodes, INIReader &ini, std::vector<rule
proxyStr += ", fast-open=true";
if(ext.udp)
proxyStr += ", udp-relay=true";
if(ext.skip_cert_verify)
if(ext.skip_cert_verify && (x.linkType == SPEEDTEST_MESSAGE_FOUNDHTTP || x.linkType == SPEEDTEST_MESSAGE_FOUNDTROJAN))
proxyStr += ", tls-verification=false";
proxyStr += ", tag=" + remark;