diff --git a/README.md b/README.md index c1197a8b..e0ce48d4 100644 --- a/README.md +++ b/README.md @@ -7,4 +7,4 @@ ### Requirements - Microsoft [.NET Framework 4.6](https://docs.microsoft.com/zh-cn/dotnet/framework/install/guide-for-developers) or higher -- Project V core [https://github.com/v2fly/v2ray-core/releases](https://github.com/v2fly/v2ray-core/releases) +- Project V core [https://hub.fastgit.org/v2fly/v2ray-core/releases](https://hub.fastgit.org/v2fly/v2ray-core/releases) diff --git a/v2rayN/v2rayN/Global.cs b/v2rayN/v2rayN/Global.cs index a44cc1ee..39cc8acc 100644 --- a/v2rayN/v2rayN/Global.cs +++ b/v2rayN/v2rayN/Global.cs @@ -9,11 +9,11 @@ namespace v2rayN public const string DownloadFileName = "v2ray-windows.zip"; public const string v2rayWebsiteUrl = @"https://www.v2fly.org/"; - public const string AboutUrl = @"https://github.com/2dust/v2rayN"; + public const string AboutUrl = @"https://hub.fastgit.org/2dust/v2rayN"; public const string UpdateUrl = AboutUrl + @"/releases"; - public const string v2flyCoreUrl = "https://github.com/v2fly/v2ray-core/releases"; - public const string xrayCoreUrl = "https://github.com/XTLS/Xray-core/releases"; - public const string NUrl = @"https://github.com/2dust/v2rayN/releases"; + public const string v2flyCoreUrl = "https://hub.fastgit.org/v2fly/v2ray-core/releases"; + public const string xrayCoreUrl = "https://hub.fastgit.org/XTLS/Xray-core/releases"; + public const string NUrl = @"https://hub.fastgit.org/2dust/v2rayN/releases"; /// diff --git a/v2rayN/v2rayN/Handler/UpdateHandle.cs b/v2rayN/v2rayN/Handler/UpdateHandle.cs index fcfcea40..db5ad598 100644 --- a/v2rayN/v2rayN/Handler/UpdateHandle.cs +++ b/v2rayN/v2rayN/Handler/UpdateHandle.cs @@ -35,7 +35,7 @@ namespace v2rayN.Handler private const string v2flyCoreUrl = Global.v2flyCoreUrl + "/download/{0}/v2ray-windows-{1}.zip"; private readonly string xrayCoreLatestUrl = Global.xrayCoreUrl + "/latest"; private const string xrayCoreUrl = Global.xrayCoreUrl + "/download/{0}/Xray-windows-{1}.zip"; - private const string geoUrl = "https://github.com/Loyalsoldier/v2ray-rules-dat/releases/latest/download/{0}.dat"; + private const string geoUrl = "https://hub.fastgit.org/Loyalsoldier/v2ray-rules-dat/releases/latest/download/{0}.dat"; public void CheckUpdateGuiN(Config config, Action update) {