Skip to content

Commit

Permalink
feat: add chromium install to dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
junseublim committed Dec 28, 2024
1 parent 4602de2 commit 808d921
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 @@ -11,7 +11,7 @@ export async function POST(request: Request) {

const url = `${process.env.URL}/board/${boardId}/screenshot?${polaroidIdsSearchParam}`

const browser = await puppeteer.launch()
const browser = await puppeteer.launch({ args: ['--no-sandbox'] })
const page = await browser.newPage()
await page.setViewport({
width: 1080,
Expand Down

0 comments on commit 808d921

Please sign in to comment.