Set image width, image url is same with the original web page. (#12518)
This commit is contained in:
parent
f14af5f14e
commit
488cb4bd8e
|
|
@ -48,7 +48,7 @@ module.exports = async (ctx) => {
|
|||
title: item.document.title,
|
||||
link: `https://${siteDomain}/${item.document.urlString}`,
|
||||
author: item.document.screenName,
|
||||
description: `<img src="${item.document.coverImageUrl}">`,
|
||||
description: `<img src="${item.document.coverImageUrl}?auto=webp&crop=1.2%3A1&frame=1&width=500" width="500">`,
|
||||
pubDate: new Date(item.document.publishDate).toUTCString(),
|
||||
category: item.document.primaryClassification,
|
||||
})),
|
||||
|
|
|
|||
Loading…
Reference in New Issue