mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-14 18:01:06 +00:00
build(docs): disable sandbox in chromium
This commit is contained in:
parent
666fe42dee
commit
9ac3b30545
1 changed files with 4 additions and 1 deletions
|
@ -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();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue