Miao-Yunzai/renderers/puppeteer/config_default.yaml

21 lines
565 B
YAML
Raw Normal View History

# 如需自定义,复制此文件为 config.yaml 进行配置
# 更新配置后需要重启
# chromium 地址可填写系统的edge/chromium路径例如根据实际情况调整
# chromiumPath: C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe
chromiumPath:
# puppeteer websocket 地址。连接单独存在的 chromium。
# puppeteerWS: 'ws://browserless:3000'
puppeteerWS:
# headless
headless: "new"
# puppeteer启动args注意args的--前缀
args:
- --disable-gpu
- --disable-setuid-sandbox
- --no-sandbox
- --no-zygote