Skip to content

Commit

Permalink
No message
Browse files Browse the repository at this point in the history
  • Loading branch information
paschmann committed Jul 19, 2022
1 parent 4204c05 commit 8620aeb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/db/job_daemon.js
Original file line number Diff line number Diff line change
Expand Up @@ -517,7 +517,7 @@ async function getWebsiteScreenshot(url, dest, filename, delay) {
const browser = await chromium.puppeteer.launch({
args: chrome_args,
executablePath: process.env.CHROME_BIN || await chromium.executablePath,
headless: false,
headless: true,
defaultViewport: { height: parseInt(process.env.CAPTURE_IMAGE_HEIGHT), width: parseInt(process.env.CAPTURE_IMAGE_WIDTH), }
});
const path = dest + filename + ".png";
Expand Down

0 comments on commit 8620aeb

Please sign in to comment.