From 4f16e63c130a4bde9df55b4909edf88eaddcf1a1 Mon Sep 17 00:00:00 2001 From: koll zhu Date: Sun, 15 Jun 2025 10:16:42 +0800 Subject: [PATCH] IPAPIUrl default set index 0 --- v2rayN/ServiceLib/Handler/ConfigHandler.cs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/v2rayN/ServiceLib/Handler/ConfigHandler.cs b/v2rayN/ServiceLib/Handler/ConfigHandler.cs index 6a25b56f..65fdc284 100644 --- a/v2rayN/ServiceLib/Handler/ConfigHandler.cs +++ b/v2rayN/ServiceLib/Handler/ConfigHandler.cs @@ -128,6 +128,10 @@ public class ConfigHandler { config.SpeedTestItem.MixedConcurrencyCount = 5; } + if (config.SpeedTestItem.IPAPIUrl.IsNullOrEmpty()) + { + config.SpeedTestItem.IPAPIUrl = Global.IPAPIUrls.First(); + } config.Mux4RayItem ??= new() {