diff --git a/src/app/board/api/screenshot/route.ts b/src/app/board/api/screenshot/route.ts index fc33608..8f69737 100644 --- a/src/app/board/api/screenshot/route.ts +++ b/src/app/board/api/screenshot/route.ts @@ -11,7 +11,9 @@ 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', '--disable-setuid-sandbox'], + }) const page = await browser.newPage() await page.setViewport({ width: 1080,