fix speed test url

pull/3165/head
2dust 2023-01-31 12:55:19 +08:00
parent 8584e15c32
commit 703e17478d
1 changed files with 2 additions and 1 deletions

View File

@ -195,7 +195,8 @@ namespace v2rayN.Handler
try
{
string status = GetRealPingTime(Global.SpeedPingTestUrl, webProxy, 10, out int responseTime);
var config = LazyConfig.Instance.GetConfig();
string status = GetRealPingTime(config.constItem.speedPingTestUrl, webProxy, 10, out int responseTime);
bool noError = Utils.IsNullOrEmpty(status);
return noError ? responseTime : -1;
}