fix(route): 增加BBC和微信(feeddd获取)的favicon (#10649)

* Update index.js

* Update feeddd.js
This commit is contained in:
Yuan68 2022-08-29 23:52:16 +08:00 committed by GitHub
parent 256387bd25
commit d5a952a55e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 0 deletions

View File

@ -85,6 +85,7 @@ module.exports = async (ctx) => {
ctx.state.data = {
title,
link,
image: 'https://www.bbc.com/favicon.ico',
description: title,
item: items,
};

View File

@ -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,
};