Skip to content

Commit

Permalink
Set executablePath appropriately
Browse files Browse the repository at this point in the history
  • Loading branch information
ccjmne committed Jul 5, 2023
1 parent 6c846e7 commit f076caf
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ function parseRequest(request) {
export function use(puppeteer) {
function launchBrowser() {
return puppeteer.launch({
executablePath: '/usr/bin/google-chrome',
headless: 'new',
args: ['--no-sandbox', '--disable-setuid-sandbox']
});
Expand Down

0 comments on commit f076caf

Please sign in to comment.