diff --git a/docs/package.json b/docs/package.json index 94eb08e7..22b95329 100644 --- a/docs/package.json +++ b/docs/package.json @@ -7,7 +7,7 @@ "build": "run-s build:*", "build:routify": "routify run -b", "build:svite": "svite build", - "postbuild": "node scripts/postbuild" + "postbuild": "DEBUG=pw:api node scripts/postbuild" }, "devDependencies": { "@sveltech/routify": "^1.9.9", diff --git a/docs/scripts/postbuild.js b/docs/scripts/postbuild.js index 43351485..cac68f7d 100644 --- a/docs/scripts/postbuild.js +++ b/docs/scripts/postbuild.js @@ -43,6 +43,7 @@ const app = polka() const browser = await chromium.launch({ headless: true, + chromiumSandbox: false, args: ["--no-sandbox", "--disable-setuid-sandbox"], }); const context = await browser.newContext();