mirror of
https://github.com/MoonTechLab/LunaTV.git
synced 2026-05-18 20:14:41 +08:00
fix bangumi
This commit is contained in:
@@ -25,5 +25,10 @@ export interface BangumiCalendarData {
|
||||
export async function GetBangumiCalendarData(): Promise<BangumiCalendarData[]> {
|
||||
const response = await fetch('https://api.bgm.tv/calendar');
|
||||
const data = await response.json();
|
||||
return data;
|
||||
const filteredData = data.map((item: BangumiCalendarData) => ({
|
||||
...item,
|
||||
items: item.items.filter(bangumiItem => bangumiItem.images)
|
||||
}));
|
||||
|
||||
return filteredData;
|
||||
}
|
||||
|
||||
@@ -10,6 +10,20 @@ export interface ChangelogEntry {
|
||||
}
|
||||
|
||||
export const changelog: ChangelogEntry[] = [
|
||||
{
|
||||
version: "100.0.1",
|
||||
date: "2025-09-25",
|
||||
added: [
|
||||
// 无新增内容
|
||||
],
|
||||
changed: [
|
||||
// 无变更内容
|
||||
],
|
||||
fixed: [
|
||||
"修复错误的环境变量 ADMIN_USERNAME",
|
||||
"修复 bangumi 数据中没有图片导致首页崩溃问题"
|
||||
]
|
||||
},
|
||||
{
|
||||
version: "100.0.0",
|
||||
date: "2025-08-26",
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
/* eslint-disable no-console */
|
||||
|
||||
const CURRENT_VERSION = '100.0.0';
|
||||
const CURRENT_VERSION = '100.0.1';
|
||||
|
||||
// 导出当前版本号供其他地方使用
|
||||
export { CURRENT_VERSION };
|
||||
|
||||
Reference in New Issue
Block a user