Skip to content

Commit

Permalink
Update puppeteer
Browse files Browse the repository at this point in the history
  • Loading branch information
rlaiola committed Feb 27, 2024
1 parent 5fecd9f commit 38d08ca
Show file tree
Hide file tree
Showing 3 changed files with 562 additions and 145 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"dependencies": {
"express": "^4.18.2",
"express-rate-limit": "^6.11.2",
"puppeteer": "^18.2.0",
"puppeteer": "^21.5.0",
"winston": "^3.11.0"
}
}
3 changes: 2 additions & 1 deletion server/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,9 @@ async function processAPIRequest (source, id, filename, index, query) {
// Running Puppeteer on a Docker container requires some additional dependencies
// https://github.com/puppeteer/puppeteer/blob/main/docs/troubleshooting.md#running-puppeteer-in-docker
args: [
'--no-sandbox'
'--no-sandbox',
],
headless: 'new'
})

try {
Expand Down
Loading

0 comments on commit 38d08ca

Please sign in to comment.