fix bugs, (#25)
Some checks failed
GitHub CI / Linux aarch64 Build (push) Failing after 31s
GitHub CI / Linux amd64 Build (push) Failing after 18s
GitHub CI / Linux armv7 Build (push) Failing after 22s
GitHub CI / Linux x86 Build (push) Failing after 20s
Publish Docker Image / Build linux/386 Image (push) Failing after 7m6s
Publish Docker Image / Build linux/amd64 Image (push) Failing after 21m7s
Publish Docker Image / Build linux/arm/v7 Image (push) Failing after 31m29s
Publish Docker Image / Build linux/arm64 Image (push) Failing after 33m17s
GitHub CI / macOS arm Build (push) Has been cancelled
GitHub CI / macOS x86 Build (push) Has been cancelled
GitHub CI / Windows amd64 Build (push) Has been cancelled
GitHub CI / Windows x86 Build (push) Has been cancelled
Publish Docker Image / Merge (push) Has been cancelled

This commit is contained in:
asdlokj1qpi23
2025-04-21 09:27:39 +08:00
parent dd59d514bd
commit 4e73f5695e

View File

@@ -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)