Skip to content

Commit

Permalink
Merge pull request #414 from vlocityinc/feature/puppet_proxy
Browse files Browse the repository at this point in the history
Merge pull request #401 from MaciekLeks/feature/puppeteer-server-proxy
  • Loading branch information
Adam Rutland authored Nov 23, 2021
2 parents c3fe4b2 + 90ccc2e commit 2b4326c
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion lib/utilityservice.js
Original file line number Diff line number Diff line change
Expand Up @@ -1508,7 +1508,10 @@ UtilityService.prototype.moveFolders = async function (source, target) {
UtilityService.prototype.getPuppeteerOptions = async function (jobInfo) {
let puppeteerOptions = {
headless: jobInfo.puppeteerHeadless,
args: ['--no-sandbox']
args: [
'--no-sandbox',
`--proxy-server=${jobInfo.httpProxy ? jobInfo.httpProxy : ''}`
]
};

let macChrome = path.join('/', 'Applications', 'Google Chrome.app', 'Contents', 'MacOS', 'Google Chrome');
Expand Down

0 comments on commit 2b4326c

Please sign in to comment.