mirror of
https://github.com/imsyy/DailyHotApi.git
synced 2026-01-12 13:14:55 +08:00
🐞 fix: 修复启动异常
This commit is contained in:
@@ -44,11 +44,11 @@ const getList = async (options: Options, noCache: boolean) => {
|
||||
data: list.map((v: RouterType["history"], index: number) => ({
|
||||
id: index,
|
||||
title: load(v.title).text().trim(),
|
||||
cover: v.cover ? v.pic_share : null,
|
||||
cover: v.cover ? v.pic_share : undefined,
|
||||
desc: load(v.desc).text().trim(),
|
||||
year: v.year,
|
||||
timestamp: null,
|
||||
hot: null,
|
||||
timestamp: undefined,
|
||||
hot: undefined,
|
||||
url: v.link,
|
||||
mobileUrl: v.link,
|
||||
})),
|
||||
|
||||
Reference in New Issue
Block a user