Skip to content

Commit

Permalink
(docs) fix generating social cards
Browse files Browse the repository at this point in the history
  • Loading branch information
jcubic committed Jan 24, 2025
1 parent adcd08a commit 9883a96
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docs/src/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,8 @@ type BlogPosts = Parameters<CreateFeedItemsFn>[0]['blogPosts'];

export default async function renderBlogArticles(posts: BlogPosts) {
const browser = await puppeteer.launch({
headless: true
headless: true,
args: ['--no-sandbox']
});
for (const post of posts) {
const author = post.metadata.authors[0];
Expand Down

0 comments on commit 9883a96

Please sign in to comment.