From d5a952a55ebe72acfdae44e593d9338ff5f01556 Mon Sep 17 00:00:00 2001 From: Yuan68 <69062462+Yuan68@users.noreply.github.com> Date: Mon, 29 Aug 2022 23:52:16 +0800 Subject: [PATCH] =?UTF-8?q?fix(route):=20=E5=A2=9E=E5=8A=A0BBC=E5=92=8C?= =?UTF-8?q?=E5=BE=AE=E4=BF=A1=EF=BC=88feeddd=E8=8E=B7=E5=8F=96=EF=BC=89?= =?UTF-8?q?=E7=9A=84favicon=20(#10649)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Update index.js * Update feeddd.js --- lib/routes/bbc/index.js | 1 + lib/v2/wechat/feeddd.js | 1 + 2 files changed, 2 insertions(+) diff --git a/lib/routes/bbc/index.js b/lib/routes/bbc/index.js index bfd70b965..71fb375aa 100644 --- a/lib/routes/bbc/index.js +++ b/lib/routes/bbc/index.js @@ -85,6 +85,7 @@ module.exports = async (ctx) => { ctx.state.data = { title, link, + image: 'https://www.bbc.com/favicon.ico', description: title, item: items, }; diff --git a/lib/v2/wechat/feeddd.js b/lib/v2/wechat/feeddd.js index b2e0c1c75..ae687f92a 100644 --- a/lib/v2/wechat/feeddd.js +++ b/lib/v2/wechat/feeddd.js @@ -31,6 +31,7 @@ module.exports = async (ctx) => { ctx.state.json = { title: response.data.title, link: response.data.feed_url, + image: 'https://mp.weixin.qq.com/favicon.ico', description: response.data.title, item: items, };