diff --git a/docs/scripts/postbuild.js b/docs/scripts/postbuild.js index b6b49b45..43351485 100644 --- a/docs/scripts/postbuild.js +++ b/docs/scripts/postbuild.js @@ -41,7 +41,10 @@ const app = polka() process.exit(1); } - const browser = await chromium.launch(); + const browser = await chromium.launch({ + headless: true, + args: ["--no-sandbox", "--disable-setuid-sandbox"], + }); const context = await browser.newContext(); const page = await context.newPage();