From 8620aeb8e321f8525cce0f0a24d3fd89a4feea29 Mon Sep 17 00:00:00 2001 From: paschmann Date: Tue, 19 Jul 2022 11:20:36 -0400 Subject: [PATCH] No message --- server/db/job_daemon.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/db/job_daemon.js b/server/db/job_daemon.js index e24172d..5d12056 100644 --- a/server/db/job_daemon.js +++ b/server/db/job_daemon.js @@ -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";