mirror of
https://github.com/sussy-code/providers.git
synced 2026-03-11 17:55:37 +00:00
Update startup.mjs
This commit is contained in:
parent
9da234f0ea
commit
035b2e3ea7
1 changed files with 2 additions and 1 deletions
|
|
@ -14,8 +14,9 @@ const server = await preview({
|
|||
let browser;
|
||||
try {
|
||||
browser = await puppeteer.launch({
|
||||
headless: 'shell',
|
||||
headless: true,
|
||||
args: ['--no-sandbox', '--disable-setuid-sandbox'],
|
||||
slowMo: 50,
|
||||
});
|
||||
const page = await browser.newPage();
|
||||
await page.goto(server.resolvedUrls.local[0]);
|
||||
|
|
|
|||
Loading…
Reference in a new issue