Skip to content

Commit

Permalink
feat: add args to speed up puppeteer
Browse files Browse the repository at this point in the history
  • Loading branch information
junseublim committed Dec 29, 2024
1 parent ad884df commit 5715e53
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/board/api/screenshot/route.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ const initializeBrowser = async () => {
const browser = await puppeteer.launch({
protocolTimeout: 360000,
timeout: 60000,
args: ['--no-first-run', '--no-sandbox', '--single-process'],
args: ['--no-first-run', '--no-sandbox'],
})
const page = await browser.newPage()
await page.setViewport({
Expand Down

0 comments on commit 5715e53

Please sign in to comment.