aboutsummaryrefslogtreecommitdiffstats
path: root/apps/workers/crawlerWorker.ts
diff options
context:
space:
mode:
Diffstat (limited to 'apps/workers/crawlerWorker.ts')
-rw-r--r--apps/workers/crawlerWorker.ts3
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/workers/crawlerWorker.ts b/apps/workers/crawlerWorker.ts
index 6b4d39f0..e7ed854b 100644
--- a/apps/workers/crawlerWorker.ts
+++ b/apps/workers/crawlerWorker.ts
@@ -231,10 +231,11 @@ async function crawlPage(jobId: string, url: string) {
// If you change this, you need to change the asset type in the store function.
type: "png",
encoding: "binary",
+ fullPage: serverConfig.crawler.fullPageScreenshot,
}),
]);
logger.info(
- `[Crawler][${jobId}] Finished capturing page content and a screenshot.`,
+ `[Crawler][${jobId}] Finished capturing page content and a screenshot. FullPageScreenshot: ${serverConfig.crawler.fullPageScreenshot}`,
);
return { htmlContent, screenshot, url: page.url() };
} finally {