Skip to content

Commit 53eb8c8

Browse files
authored
🐛 取消mirror.ghproxy.com, 当前已不可用 (#1913)
1 parent b046186 commit 53eb8c8

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

zhenxun/utils/github_utils/func.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@ async def get_fastest_raw_formats() -> list[str]:
2323
formats: dict[str, str] = {
2424
"https://raw.githubusercontent.com/": RAW_CONTENT_FORMAT,
2525
"https://ghproxy.cc/": f"https://ghproxy.cc/{RAW_CONTENT_FORMAT}",
26-
"https://mirror.ghproxy.com/": f"https://mirror.ghproxy.com/{RAW_CONTENT_FORMAT}",
2726
"https://gh-proxy.com/": f"https://gh-proxy.com/{RAW_CONTENT_FORMAT}",
2827
"https://cdn.jsdelivr.net/": "https://cdn.jsdelivr.net/gh/{owner}/{repo}@{branch}/{path}",
2928
}
@@ -36,7 +35,6 @@ async def get_fastest_archive_formats() -> list[str]:
3635
formats: dict[str, str] = {
3736
"https://github.com/": ARCHIVE_URL_FORMAT,
3837
"https://ghproxy.cc/": f"https://ghproxy.cc/{ARCHIVE_URL_FORMAT}",
39-
"https://mirror.ghproxy.com/": f"https://mirror.ghproxy.com/{ARCHIVE_URL_FORMAT}",
4038
"https://gh-proxy.com/": f"https://gh-proxy.com/{ARCHIVE_URL_FORMAT}",
4139
}
4240
return await __get_fastest_formats(formats)
@@ -48,7 +46,6 @@ async def get_fastest_release_formats() -> list[str]:
4846
formats: dict[str, str] = {
4947
"https://objects.githubusercontent.com/": RELEASE_ASSETS_FORMAT,
5048
"https://ghproxy.cc/": f"https://ghproxy.cc/{RELEASE_ASSETS_FORMAT}",
51-
"https://mirror.ghproxy.com/": f"https://mirror.ghproxy.com/{RELEASE_ASSETS_FORMAT}",
5249
"https://gh-proxy.com/": f"https://gh-proxy.com/{RELEASE_ASSETS_FORMAT}",
5350
}
5451
return await __get_fastest_formats(formats)

0 commit comments

Comments
 (0)