This commit is contained in:
betalabor.de
2026-04-27 20:48:10 +02:00
parent 6b3d918111
commit fe7cbf78c1
2 changed files with 2 additions and 0 deletions

View File

@@ -20,6 +20,7 @@ export const GET: APIRoute = async ({ params, locals, request }) => {
const { default: puppeteer } = await import('puppeteer');
const browser = await puppeteer.launch({
executablePath: process.env.PUPPETEER_EXECUTABLE_PATH || undefined,
args: ['--no-sandbox', '--disable-setuid-sandbox', '--disable-dev-shm-usage'],
});

View File

@@ -19,6 +19,7 @@ export const GET: APIRoute = async ({ params, request }) => {
const { default: puppeteer } = await import('puppeteer');
const browser = await puppeteer.launch({
executablePath: process.env.PUPPETEER_EXECUTABLE_PATH || undefined,
args: ['--no-sandbox', '--disable-setuid-sandbox', '--disable-dev-shm-usage'],
});