mirror of
https://github.com/Mahdi-zarei/nekoray.git
synced 2025-12-19 05:30:06 +08:00
Update GroupUpdater.cpp
This commit is contained in:
parent
95a25d52d6
commit
150ae3ed78
@ -624,7 +624,7 @@ namespace Subscription {
|
||||
needFix = true;
|
||||
auto bean = ent->AnyTLSBean();
|
||||
bean->password = Node2QString(proxy["password"]);
|
||||
if (Node2Bool(proxy["tls"])) bean->stream->security = "tls";
|
||||
bean->stream->security = "tls";
|
||||
if (Node2Bool(proxy["skip-cert-verify"])) bean->stream->allow_insecure = true;
|
||||
bean->stream->sni = FIRST_OR_SECOND(Node2QString(proxy["sni"]), Node2QString(proxy["servername"]));
|
||||
bean->stream->alpn = Node2QStringList(proxy["alpn"]).join(",");
|
||||
|
||||
Loading…
Reference in New Issue
Block a user