Merge branch 'dev' into main

This commit is contained in:
Go Compile
2024-02-18 22:02:35 +00:00
committed by GitHub
108 changed files with 3853 additions and 895 deletions
+5 -1
View File
@@ -32,7 +32,11 @@ export default async function archiveHandler(link: LinksAndCollectionAndOwner) {
}
const browser = await chromium.launch(browserOptions);
const context = await browser.newContext(devices["Desktop Chrome"]);
const context = await browser.newContext({
...devices["Desktop Chrome"],
ignoreHTTPSErrors: process.env.IGNORE_HTTPS_ERRORS === "true",
});
const page = await context.newPage();
const timeoutPromise = new Promise((_, reject) => {