mirror of
https://github.com/asdlokj1qpi233/subconverter.git
synced 2026-11-03 02:02:24 +00:00
Fix SNI host missing in Surge configurations
This commit is contained in:
2 files changed
+4
-1
No files matched your search
@@ -1374,7 +1374,7 @@ bool explodeSurge(std::string surge, const std::string &custom_port, int local_p
|
||||
if(host.empty() && !isIPv4(server) && !isIPv6(server))
|
||||
host = server;
|
||||
|
||||
node.proxyStr = trojanConstruct(remarks, server, port, password, host, false);
|
||||
node.proxyStr = trojanConstruct(remarks, server, port, password, host, true);
|
||||
break;
|
||||
default:
|
||||
switch(hash_(remarks))
|
||||
|
||||
Reference in new issue
Block a user