mirror of
https://github.com/2dust/v2rayN.git
synced 2026-02-28 05:03:02 +00:00
Update v2rayN/ServiceLib/Handler/CoreConfigHandler.cs
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
parent
8232e0adf9
commit
5fbb651c63
1 changed files with 5 additions and 1 deletions
|
|
@ -93,7 +93,11 @@ public static class CoreConfigHandler
|
|||
public static async Task<RetResult> GenerateClientSpeedtestConfig(Config config, string fileName, List<ServerTestItem> selecteds, ECoreType coreType)
|
||||
{
|
||||
var result = new RetResult();
|
||||
var builderResult = await CoreConfigContextBuilder.Build(config, new());
|
||||
var dummyNode = new ProfileItem
|
||||
{
|
||||
CoreType = coreType
|
||||
};
|
||||
var builderResult = await CoreConfigContextBuilder.Build(config, dummyNode);
|
||||
var context = builderResult.Context;
|
||||
var ids = selecteds.Where(serverTestItem => !serverTestItem.IndexId.IsNullOrEmpty())
|
||||
.Select(serverTestItem => serverTestItem.IndexId);
|
||||
|
|
|
|||
Loading…
Reference in a new issue