mirror of
https://github.com/2dust/v2rayN.git
synced 2025-12-15 15:59:49 +05:00
Update UpdateHandle.cs
This commit is contained in:
@@ -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);
|
||||||
|
|||||||
Reference in New Issue
Block a user