mirror of
https://github.com/litruv/lit.ruv.wtf.git
synced 2026-07-24 02:36:02 +10:00
use thumbnails instead
This commit is contained in:
2
main.js
2
main.js
@@ -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 || ''
|
||||||
})) || []
|
})) || []
|
||||||
}));
|
}));
|
||||||
|
|||||||
Reference in New Issue
Block a user