mirror of
https://github.com/zhenxun-org/zhenxun_bot.git
synced 2026-10-08 21:30:01 +08:00
🎈 优先使用github api (#1625)
This commit is contained in:
@@ -20,4 +20,4 @@ def parse_github_url(github_url: str) -> "RepoInfo":
|
|||||||
jsdelivr_api = RepoAPI(JsdelivrStrategy()) # type: ignore
|
jsdelivr_api = RepoAPI(JsdelivrStrategy()) # type: ignore
|
||||||
github_api = RepoAPI(GitHubStrategy()) # type: ignore
|
github_api = RepoAPI(GitHubStrategy()) # type: ignore
|
||||||
|
|
||||||
api_strategy = [jsdelivr_api, github_api]
|
api_strategy = [github_api, jsdelivr_api]
|
||||||
|
|||||||
Reference in New Issue
Block a user