Pre Merge pull request !51 from touchscale/master

This commit is contained in:
touchscale 2023-05-29 19:50:03 +00:00 committed by Gitee
commit 83c75aa61f
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
2 changed files with 2 additions and 2 deletions

View File

@ -10,7 +10,7 @@ chromiumPath:
puppeteerWS:
# headless
headless: 'new'
headless: "new"
# puppeteer启动args注意args的--前缀
args:

View File

@ -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',