mirror of
https://github.com/Mahdi-zarei/nekoray.git
synced 2025-12-26 03:11:21 +08:00
Update GroupUpdater.cpp
This commit is contained in:
parent
c35724abaa
commit
5d694babdb
@ -286,7 +286,7 @@ namespace Subscription {
|
|||||||
// VLESS
|
// VLESS
|
||||||
if (out["type"] == "vless") {
|
if (out["type"] == "vless") {
|
||||||
ent = Configs::ProfileManager::NewProxyEntity("vless");
|
ent = Configs::ProfileManager::NewProxyEntity("vless");
|
||||||
auto ok = ent->VLESSBean()->TryParseJson(out);
|
auto ok = ent->TrojanVLESSBean()->TryParseJson(out);
|
||||||
if (!ok) continue;
|
if (!ok) continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -526,6 +526,7 @@ namespace Subscription {
|
|||||||
bean->stream->host = Node2QString(header.second);
|
bean->stream->host = Node2QString(header.second);
|
||||||
else if (header.second.is_sequence() && header.second[0].is_string())
|
else if (header.second.is_sequence() && header.second[0].is_string())
|
||||||
bean->stream->host = Node2QString(header.second[0]);
|
bean->stream->host = Node2QString(header.second[0]);
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user