Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Update v2rayN/ServiceLib/Handler/CoreConfigHandler.cs
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
  • Loading branch information
DHR60 and Copilot committed Feb 27, 2026
commit 78a74a1ef4f23fcd3d0c7f26a2f0d2371c9f2896
6 changes: 5 additions & 1 deletion v2rayN/ServiceLib/Handler/CoreConfigHandler.cs
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,11 @@ private static async Task<RetResult> GenerateClientCustomConfig(ProfileItem node
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);
Expand Down