commit
fb41a3e157
|
@ -10,7 +10,7 @@ chromiumPath:
|
|||
puppeteerWS:
|
||||
|
||||
# headless
|
||||
headless: 'new'
|
||||
headless: "new"
|
||||
|
||||
# puppeteer启动args,注意args的--前缀
|
||||
args:
|
||||
|
|
|
@ -23,7 +23,7 @@ export default class PuppeteerRenderer {
|
|||
/** 截图次数 */
|
||||
this.renderNum = 0
|
||||
this.config = {
|
||||
headless: Data.def(config.headless, true),
|
||||
headless: Data.def(config.headless, "new"),
|
||||
args: Data.def(config.args, [
|
||||
'--disable-gpu',
|
||||
'--disable-setuid-sandbox',
|
||||
|
|
Loading…
Reference in New Issue