Skip to content

Commit

Permalink
[#] 修改补丁文件url获取顺序
Browse files Browse the repository at this point in the history
  • Loading branch information
huiyadanli committed Jun 15, 2024
1 parent 344f2f7 commit 0b9e969
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions RevokeMsgPatcher/Utils/HttpUtil.cs
Original file line number Diff line number Diff line change
Expand Up @@ -43,12 +43,10 @@ public static string PatchVersion
private static readonly string[] urls = new string[]
{
$"https://hui-config.oss-cn-hangzhou.aliyuncs.com/{PatchVersion}/patch.json",
$"https://cdn.jsdelivr.net/gh/huiyadanli/RevokeMsgPatcher@master/RevokeMsgPatcher.Assistant/Data/{PatchVersion}/patch.json",
$"https://raw.githubusercontent.com/huiyadanli/RevokeMsgPatcher/master/RevokeMsgPatcher.Assistant/Data/{PatchVersion}/patch.json",
$"https://raw.fgit.cf/huiyadanli/RevokeMsgPatcher/master/RevokeMsgPatcher.Assistant/Data/{PatchVersion}/patch.json",
$"https://mirror.ghproxy.com/https://raw.githubusercontent.com/huiyadanli/RevokeMsgPatcher/master/RevokeMsgPatcher.Assistant/Data/{PatchVersion}/patch.json",
$"https://raw.gitmirror.com/huiyadanli/RevokeMsgPatcher/master/RevokeMsgPatcher.Assistant/Data/{PatchVersion}/patch.json",
$"https://gh.con.sh/https://raw.githubusercontent.com/huiyadanli/RevokeMsgPatcher/master/RevokeMsgPatcher.Assistant/Data/{PatchVersion}/patch.json"
$"https://cdn.jsdelivr.net/gh/huiyadanli/RevokeMsgPatcher@master/RevokeMsgPatcher.Assistant/Data/{PatchVersion}/patch.json",
$"https://raw.githubusercontent.com/huiyadanli/RevokeMsgPatcher/master/RevokeMsgPatcher.Assistant/Data/{PatchVersion}/patch.json",
};

public static async Task<string> GetPatchJsonAsync()
Expand Down

0 comments on commit 0b9e969

Please sign in to comment.