minor fix

This commit is contained in:
daniel31x13
2023-12-12 10:43:40 -05:00
parent 6ba2aab0ba
commit 099024518f
2 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -31,7 +31,7 @@ export default async function urlHandler(link: LinksAndCollectionAndOwner) {
if (user.archiveAsWaybackMachine && link.url) sendToWayback(link.url);
if (user.archiveAsPDF || user.archiveAsScreenshot) {
const browser = await chromium.launch({ headless: false });
const browser = await chromium.launch();
const context = await browser.newContext(devices["Desktop Chrome"]);
const page = await context.newPage();