Skip to content

Commit

Permalink
fix(route/fediverse): Item link is empty (#16446)
Browse files Browse the repository at this point in the history
  • Loading branch information
LandonLi authored Aug 14, 2024
1 parent a19017a commit 9c24b9d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/routes/fediverse/timeline.ts
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ async function handler(ctx) {
item: resolvedItems.map((item) => ({
title: item.object.content,
description: `${item.object.content}\n${item.object.attachment?.map((attachment) => `<img src="${attachment.url}" width="${attachment.width}" height="${attachment.height}" />`).join('\n') || ''}`,
link: item.url,
link: item.object.url,
pubDate: parseDate(item.published),
guid: item.id,
})),
Expand Down

0 comments on commit 9c24b9d

Please sign in to comment.