Skip to content

The only downloader you need. 下载器的集大成者。

fix(sources): use jsDelivr CDN for repo raw files

XiaoYouChRe7f47a6cf743
diff --git a/app/sources.py b/app/sources.py
index e112e7bd..fb50378e 100644
--- a/app/sources.py
+++ b/app/sources.py
@@ -20,8 +20,8 @@ SOURCES = {
"gitcode": SourceEndpoints(
api="https://api.gitcode.com/api/v5/repos",
download="https://gitcode.com",
- raw="https://raw.gitcode.com",
- rawInfix="/raw/",
+ raw="https://cdn.jsdelivr.net/gh",
+ rawInfix="@",
),
"github": SourceEndpoints(
api="https://api.github.com/repos",