增加桜色动漫数据源

This commit is contained in:
mtvpls
2026-07-21 15:51:40 +08:00
parent f7e0529394
commit d54cf65927
10 changed files with 99 additions and 28 deletions
+6 -1
View File
@@ -374,7 +374,11 @@ interface SiteConfig {
TMDBApiKey?: string;
TMDBProxy?: string;
TMDBReverseProxy?: string;
BangumiDataSource?: 'direct' | 'server-proxy' | 'custom-baseurl';
BangumiDataSource?:
| 'direct'
| 'server-proxy'
| 'custom-baseurl'
| 'sakura';
BangumiApiBaseUrl?: string;
BangumiImageBaseUrl?: string;
BangumiProxy?: string;
@@ -11513,6 +11517,7 @@ const SiteConfigComponent = ({
{[
{ value: 'direct', label: '直连' },
{ value: 'server-proxy', label: '服务器代理' },
{ value: 'sakura', label: '桜色镜像站' },
{ value: 'custom-baseurl', label: '自定义 Base URL' },
].map((option) => (
<button