mirror of
https://github.com/2dust/v2rayN.git
synced 2025-05-02 13:18:50 +00:00
fix speed test url
This commit is contained in:
parent
8584e15c32
commit
703e17478d
1 changed files with 2 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue