Fix the bug related to certificate validation in the Hysteria2 protocol.(#17)

This commit is contained in:
asdlokj1qpi23
2024-05-09 15:34:06 +08:00
parent a8292b1fc6
commit 0895a16876

View File

@@ -236,9 +236,8 @@ proxyToClash(std::vector<Proxy> &nodes, YAML::Node &yamlnode, const ProxyGroupCo
tribool tfo = ext.tfo;
udp.define(x.UDP);
xudp.define(x.XUDP);
scv.define(x.AllowInsecure);
scv = x.AllowInsecure;
tfo.define(x.TCPFastOpen);
singleproxy["name"] = x.Remark;
singleproxy["server"] = x.Hostname;
singleproxy["port"] = x.Port;