From 220a6842d570fc5ecbc5562d617a06a76c94ee5f Mon Sep 17 00:00:00 2001 From: karasu Date: Fri, 26 Dec 2025 18:01:11 +0800 Subject: [PATCH] fix(route/ff14-zh): add a default news link to items where the link is empty (#20762) --- lib/routes/ff14/ff14-zh.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/routes/ff14/ff14-zh.ts b/lib/routes/ff14/ff14-zh.ts index 941c86c29..42322fffe 100644 --- a/lib/routes/ff14/ff14-zh.ts +++ b/lib/routes/ff14/ff14-zh.ts @@ -60,9 +60,9 @@ async function handler(ctx) { title: '最终幻想14(国服)新闻中心', link: referer + '#/newstab/newslist', description: '《最终幻想14》是史克威尔艾尼克斯出品的全球经典游戏品牌FINAL FANTASY系列的最新作品,IGN获得9.2高分!全球累计用户突破1600万!', - item: data.map(({ Title, Summary, Author, PublishDate, HomeImagePath }) => ({ + item: data.map(({ Title, Summary, Author, PublishDate, HomeImagePath, Id }) => ({ title: Title, - link: Author, + link: Author || `https://ff.web.sdo.com/web8/index.html#/newstab/newscont/${Id}`, description: art(path.join(__dirname, 'templates/description.art'), { image: HomeImagePath, description: Summary,