From 23720b74cb5a86b3b11ada3bebd3bcf0ca46cde6 Mon Sep 17 00:00:00 2001 From: s2marine Date: Thu, 2 Apr 2020 20:40:48 +0800 Subject: [PATCH] fix: agefans title typo and link double slash (#4323) --- lib/routes/agefans/detail.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/routes/agefans/detail.js b/lib/routes/agefans/detail.js index 7a4f4469d1..8f95576d9a 100644 --- a/lib/routes/agefans/detail.js +++ b/lib/routes/agefans/detail.js @@ -15,13 +15,13 @@ module.exports = async (ctx) => { .map((idx, item) => ({ title: $(item).text(), description: $(item).text(), - link: `https://www.agefans.tv/${$(item).attr('href')}`, + link: `https://www.agefans.tv${$(item).attr('href')}`, })) .get(); items.reverse(); ctx.state.data = { - title: `ACG动漫 - ${$('.detail_imform_name').text()}`, + title: `AGE动漫 - ${$('.detail_imform_name').text()}`, link: `https://www.agefans.tv/detail/${ctx.params.id}`, description: $('.detail_imform_desc_pre').text(), item: items,