mirror of https://github.com/2dust/v2rayN
Update UpdateHandle.cs
parent
49fa0a4c67
commit
dec722e693
|
@ -326,7 +326,7 @@ namespace v2rayN.Handler
|
||||||
var coreInfo = LazyConfig.Instance.GetCoreInfo(type);
|
var coreInfo = LazyConfig.Instance.GetCoreInfo(type);
|
||||||
string url = coreInfo.coreReleaseApiUrl;
|
string url = coreInfo.coreReleaseApiUrl;
|
||||||
|
|
||||||
var result = await (new DownloadHandle()).DownloadStringAsync(url, true, "");
|
var result = await (new DownloadHandle()).DownloadStringAsyncOri(url, true, "");
|
||||||
if (!Utils.IsNullOrEmpty(result))
|
if (!Utils.IsNullOrEmpty(result))
|
||||||
{
|
{
|
||||||
responseHandler(type, result, preRelease);
|
responseHandler(type, result, preRelease);
|
||||||
|
|
Loading…
Reference in New Issue