use thumbnails instead

This commit is contained in:
2024-12-02 11:54:51 +11:00
parent 287bebbf86
commit 9c5af40039

View File

@@ -83,7 +83,7 @@ async function fetchPosts() {
reposts: item.post.repostCount || 0, reposts: item.post.repostCount || 0,
url: `https://bsky.app/profile/${item.post.author.handle}/post/${item.post.uri.split('/').pop()}`, url: `https://bsky.app/profile/${item.post.author.handle}/post/${item.post.uri.split('/').pop()}`,
embed: item.post.embed?.images?.map(img => ({ embed: item.post.embed?.images?.map(img => ({
url: img.fullsize, url: img.thumb,
alt: img.alt || '' alt: img.alt || ''
})) || [] })) || []
})); }));