From defaafdd4f04f6a2742dfa7b61768dcc2893db20 Mon Sep 17 00:00:00 2001 From: the1812 Date: Sun, 7 Nov 2021 15:38:39 +0800 Subject: [PATCH] Use direct raw CDN (#2409) --- src/core/cdn-types.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/cdn-types.ts b/src/core/cdn-types.ts index 66b7d7ba0..a490ed9f8 100644 --- a/src/core/cdn-types.ts +++ b/src/core/cdn-types.ts @@ -7,5 +7,5 @@ const defaultOwner = 'the1812' /** 根据分支名和仓库 owner 检索 CDN 链接 */ export const cdnRoots: Record string> = { jsDelivr: (branch, owner) => `https://cdn.jsdelivr.net/gh/${owner || defaultOwner}/Bilibili-Evolved@${branch}/`, - GitHub: (branch, owner) => `https://github.com/${owner || defaultOwner}/Bilibili-Evolved/raw/${branch}/`, + GitHub: (branch, owner) => `https://raw.githubusercontent.com/${owner || defaultOwner}/Bilibili-Evolved/${branch}/`, }