fix(route/smartlink): Preserve queryparams for image URL to work in smartlinkk (#19331)

This commit is contained in:
Qiang Huang 2025-06-08 17:49:30 -07:00 committed by GitHub
parent b777db4448
commit aefd162586
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -62,7 +62,7 @@ async function handler(ctx) {
const items = parsedData.map((item) => ({
title: getTitle(item),
link: item.smartlink.split('?')[0],
description: `<p><img src="${item.imageUrl.split('?')[0]}"></p>`,
description: `<p><img src="${item.imageUrl}"></p>`,
pubDate: item.created,
guid: item.id,
}));