Skip to content

Commit

Permalink
fix: fetch max res images from yt API
Browse files Browse the repository at this point in the history
  • Loading branch information
murtuzaalisurti committed Aug 20, 2024
1 parent 04e18b1 commit 3ce886b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Featured.astro
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ for (let [_, item] of youtubeFeaturedItems.entries()) {
ogTitle: snippet?.title as string,
ogImage: [
{
url: snippet?.thumbnails?.medium?.url as string,
url: snippet?.thumbnails?.maxres?.url as string,
},
],
};
Expand Down

0 comments on commit 3ce886b

Please sign in to comment.