pls ahlp. it doesnt return 25 posts when i get the html response
javascript
async function getExplorePagePosts() {
for (let i = 0; i < explorePagePosts.length; i++) {
var post = explorePagePosts[i]
html += await buildPost(post, timezone)
}
}
await getExplorePagePosts()
return new Response(html, {headers: {'Content-Type': 'text/html'}})
Comments
-
you get no result? a few posts but missing a few? how are you getting your posts?
or maybe the api only outputs 10 results let me check (or there's no api)there is an api endpoint and it does output 25 results to me