Skip to content

Commit

Permalink
update dependenciests
Browse files Browse the repository at this point in the history
  • Loading branch information
satch7788 committed Aug 13, 2024
1 parent 37752f6 commit 3693191
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 7 deletions.
5 changes: 3 additions & 2 deletions main.js
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,8 @@ class RmbBhkw extends utils.Adapter {
this.log.debug('Using external browser: ' + browserPath);
try {
if (allowInsecure) {
browser = await puppeteer.connect({ browserWSEndpoint: browserPath, ignoreHTTPSErrors: true});
//browser = await puppeteer.connect({ browserWSEndpoint: browserPath, ignoreHTTPSErrors: true});
browser = await puppeteer.connect({ browserWSEndpoint: browserPath});
}
else {
browser = await puppeteer.connect({ browserWSEndpoint: browserPath});
Expand All @@ -81,7 +82,7 @@ class RmbBhkw extends utils.Adapter {
} else {
this.log.debug('Using the integrated browser');
if (allowInsecure) {
browser = await puppeteer.launch({ignoreHTTPSErrors: true, args: ['--proxy-bypass-list=*', '--disable-gpu', '--disable-dev-shm-usage', '--disable-setuid-sandbox', '--no-first-run', '--no-sandbox', '--no-zygote', '--single-process', '--ignore-certificate-errors', '--ignore-certificate-errors-spki-list', '--enable-features=NetworkService']});
browser = await puppeteer.launch({args: ['--proxy-bypass-list=*', '--disable-gpu', '--disable-dev-shm-usage', '--disable-setuid-sandbox', '--no-first-run', '--no-sandbox', '--no-zygote', '--single-process', '--ignore-certificate-errors', '--ignore-certificate-errors-spki-list', '--enable-features=NetworkService']});
}
else {
browser = await puppeteer.launch();
Expand Down
8 changes: 4 additions & 4 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
},
"dependencies": {
"@iobroker/adapter-core": "^3.1.6",
"puppeteer": ">=21.4.1"
"puppeteer": "^23.0.2"
},
"devDependencies": {
"@alcalzone/release-script": "^3.6.0",
Expand Down

0 comments on commit 3693191

Please sign in to comment.