This commit is contained in:
asdlokj1qpi23 committed 2024-06-13 17:30:34 +08:00
1 parent 6c296bfbf2
commit 598f6ac414
1 file changed
+1 -1
+1 -1
View File
@@ -1983,7 +1983,7 @@ proxyToLoon(std::vector<Proxy> &nodes, const std::string &base_conf, std::vector
proxy += ", peers=[{" + generatePeer(x, true) + "}]";
break;
case ProxyType::Hysteria2:
proxy = "Hysteria2," + hostname + "," + port + "," + username + ",\"" + password + "\"";
proxy = "Hysteria2," + hostname + "," + port + ",\"" + password + "\"";
if(!x.ServerName.empty()){
proxy += ",sni="+x.ServerName;
}