diff --git a/package.json b/package.json index af2ae64..8c2c697 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "wbot", - "version": "0.19.2", + "version": "0.19.3", "description": "A simple whatsapp reply bot using puppeteer.", "main": "src/index.js", "scripts": { diff --git a/src/constants.js b/src/constants.js index a326e65..03b88c6 100644 --- a/src/constants.js +++ b/src/constants.js @@ -23,6 +23,7 @@ this.DEFAULT_CHROMIUM_ARGS = [ "--disable-accelerated-mjpeg-decode", "--disable-app-list-dismiss-on-blur", "--disable-accelerated-video-decode", + "--disable-web-security", "--num-raster-threads=1", ]; this.DEFAULT_DATA_DIR = path.join(process.cwd(), "chromium-data");