mirror of
https://github.com/asdlokj1qpi233/subconverter.git
synced 2025-10-26 02:42:25 +00:00
Fix Bug.(#22)
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user