Skip to content

Commit

Permalink
fix(app): use entry url as item url
Browse files Browse the repository at this point in the history
  • Loading branch information
Zweihander-Main committed Nov 4, 2023
1 parent d1eb22c commit 4ba3263
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app.ts
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,7 @@ const createRSSFeed = async (start?: number, end?: number) => {
feed.item({
title: `${hit.points}p | ${hit.title}`,
description: desc,
url: hit.url || '',
url: `https://news.ycombinator.com/item?id=${hit.objectID}`,
guid: hit.objectID,
date: hit.rssTime as string,
});
Expand Down

0 comments on commit 4ba3263

Please sign in to comment.