diff --git a/lib/routes/bof/home.js b/lib/routes/bof/home.js index 7122be9f30..dd36c2accb 100644 --- a/lib/routes/bof/home.js +++ b/lib/routes/bof/home.js @@ -21,11 +21,13 @@ module.exports = async (ctx) => { }); const items = response.data.data.articles.edges.map((item) => { + const url = new URL(item.node.url); + url.host = 'cn.businessoffashion.com'; const single = { title: item.node.title, description: `${item.node.summary}
${item.node.content}`, pubDate: new Date(item.node.published.value).toUTCString(), - link: item.node.url, + link: url.href, author: item.node.authors[0].displayName, };