Skip to content

⚡️⚡️⚡️ Self-hosted collaborative bookmark manager to collect, read, annotate, and fully preserve what matters, all in one place.

hotfix

daniel31x134640c1c966d3
diff --git a/lib/api/archiveHandler.ts b/lib/api/archiveHandler.ts
index 08a35b50..aaf1c98d 100644
--- a/lib/api/archiveHandler.ts
+++ b/lib/api/archiveHandler.ts
@@ -58,7 +58,10 @@ export default async function archiveHandler(link: LinksAndCollectionAndOwner) {
? await validateUrlSize(link.url)
: undefined;
- if (validatedUrl === null)
+ if (
+ validatedUrl === null &&
+ process.env.IGNORE_URL_SIZE_LIMIT !== "true"
+ )
throw "Something went wrong while retrieving the file size.";
const contentType = validatedUrl?.get("content-type");