Fix speedtest core type (#8900)

* Fix speedtest core type

* Simplify code
This commit is contained in:
DHR60
2026-03-07 08:36:03 +00:00
committed by GitHub
parent e03c22092f
commit 66e1aeae1f
3 changed files with 4 additions and 5 deletions
@@ -268,7 +268,7 @@ public class CoreConfigContextBuilder
{
IndexId = $"inner-{Utils.GetGuid(false)}",
ConfigType = EConfigType.ProxyChain,
CoreType = node.CoreType ?? ECoreType.Xray,
CoreType = AppManager.Instance.GetCoreType(node, node.ConfigType),
};
List<string?> childItems = [prevNode?.IndexId, node.IndexId, nextNode?.IndexId];
var chainExtraItem = chainNode.GetProtocolExtra() with