mirror of
https://github.com/the1812/Bilibili-Evolved.git
synced 2025-11-04 21:22:45 +08:00
Use direct raw CDN (#2409)
This commit is contained in:
parent
3476b5bf48
commit
defaafdd4f
@ -7,5 +7,5 @@ const defaultOwner = 'the1812'
|
||||
/** 根据分支名和仓库 owner 检索 CDN 链接 */
|
||||
export const cdnRoots: Record<CdnTypes, (branch: string, owner?: string) => 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}/`,
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user