Skip to content

Commit

Permalink
Set image length to 1
Browse files Browse the repository at this point in the history
Signed-off-by: Milan Gruner <[email protected]>
  • Loading branch information
lemilonkh committed Sep 17, 2023
1 parent 8221d68 commit 592a0b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pages/rss.xml.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ export const GET: APIRoute = async (context) => {
enclosure: item.data.image ? {
url: item.data.image.url || item.data.image.src || 'https://gruner.tech/favicon.svg',
type: item.data.image.format ? `image/${item.data.image.format}` : 'image/png',
length: 0,
length: 1,
} : undefined,
}));

Expand Down

0 comments on commit 592a0b5

Please sign in to comment.