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

This commit is contained in:
Qiang Huang
2025-06-09 00:49:30 +00:00
committed by GitHub
parent b777db4448
commit aefd162586
+1 -1
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,
}));