mirror of
https://github.com/asdlokj1qpi233/subconverter.git
synced 2025-10-25 18:32:22 +00:00
Compare commits
2 Commits
57ed33f96c
...
4e73f5695e
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
4e73f5695e | ||
|
|
dd59d514bd |
@@ -1066,8 +1066,8 @@ std::string proxyToSurge(std::vector<Proxy> &nodes, const std::string &base_conf
|
||||
proxy += ",skip-cert-verify=" + std::string(scv.get() ? "true" : "false");
|
||||
if (!x.Fingerprint.empty())
|
||||
proxy += ",server-cert-fingerprint-sha256=" + x.Fingerprint;
|
||||
if (!x.SNI.empty())
|
||||
proxy += ",sni=" + x.SNI;
|
||||
if (!x.ServerName.empty())
|
||||
proxy += ",sni=" + x.ServerName;
|
||||
break;
|
||||
case ProxyType::WireGuard:
|
||||
if (surge_ver < 4 && surge_ver != -3)
|
||||
@@ -2237,7 +2237,7 @@ proxyToLoon(std::vector<Proxy> &nodes, const std::string &base_conf,
|
||||
continue;
|
||||
}
|
||||
proxy = "VLESS," + hostname + "," + port + ",\"" + id + "\",flow=" + flow + ",public-key=\"" + pk +
|
||||
"\",shortid=" + shortId + ",udp=" + (udp.get() ? "true" : "false") + ",over-tls=" + (
|
||||
"\",short-id=" + shortId + ",udp=" + (udp.get() ? "true" : "false") + ",over-tls=" + (
|
||||
tlssecure ? "true" : "false") + ",sni=" + sni;
|
||||
|
||||
switch (hash_(transproto)) {
|
||||
|
||||
Reference in New Issue
Block a user