fix
This commit is contained in:
parent
30b0f6ebdf
commit
d28322520d
2
index.js
2
index.js
@ -256,7 +256,7 @@ ${coverLastResult(CONFIG.historys[3])} ${coverLastResult(
|
|||||||
}
|
}
|
||||||
|
|
||||||
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