Skip to content

Commit

Permalink
Fix sandbox
Browse files Browse the repository at this point in the history
  • Loading branch information
palemieux committed Jan 18, 2025
1 parent 00ea8c2 commit dc564be
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/build.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -496,7 +496,7 @@ async function makePDF(docPath, pdfPath) {
const timeout = 6000000;

const browser = await puppeteer.launch({
args: ["--disable-dev-shm-usage", "--allow-file-access-from-files"]
args: ["--no-sandbox", "--disable-dev-shm-usage", "--allow-file-access-from-files"]
});


Expand Down Expand Up @@ -570,7 +570,7 @@ async function render(docPath) {
/* render the page */

const browser = await puppeteer.launch({
args: ["--disable-dev-shm-usage", "--allow-file-access-from-files"],
args: ["--no-sandbox", "--disable-dev-shm-usage", "--allow-file-access-from-files"],
});

try {
Expand Down

0 comments on commit dc564be

Please sign in to comment.