chore: update gh proxy

This commit is contained in:
GyDi
2023-05-19 09:44:31 +08:00
parent 6316a0ede9
commit 0b24be7532
2 changed files with 3 additions and 6 deletions

View File

@@ -117,10 +117,7 @@ async function resolveUpdater() {
Object.entries(updateDataNew.platforms).forEach(([key, value]) => {
if (value.url) {
updateDataNew.platforms[key].url = value.url.replace(
"https://github.com/",
"https://hub.fastgit.xyz/"
);
updateDataNew.platforms[key].url = "https://ghproxy.com/" + value.url;
} else {
console.log(`[Error]: updateDataNew.platforms.${key} is null`);
}