fix
This commit is contained in:
parent
de78e010e4
commit
a373b42688
2
index.js
2
index.js
@ -56,7 +56,7 @@ const CONFIG = {
|
|||||||
};
|
};
|
||||||
|
|
||||||
puppeteer
|
puppeteer
|
||||||
.launch({ headless: false, args: ["--no-sandbox"] })
|
.launch({ headless: true, args: ["--no-sandbox"] })
|
||||||
.then(async (browser) => {
|
.then(async (browser) => {
|
||||||
const page = await browser.newPage();
|
const page = await browser.newPage();
|
||||||
await page.setViewport({ width: 1366, height: 768 });
|
await page.setViewport({ width: 1366, height: 768 });
|
||||||
|
Loading…
x
Reference in New Issue
Block a user