mirror of
https://github.com/DIYgod/RSSHub.git
synced 2026-09-24 23:12:34 +08:00
fix(route/ff14-zh): add a default news link to items where the link is empty (#20762)
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user