Skip to content

Papermark is the open-source DocSend alternative and secure data rooms with built-in analytics and custom domains.

chore(temp): increase pages limit

Marc Seitz6c214b5e500a
diff --git a/components/document-upload.tsx b/components/document-upload.tsx
index 1306bd51..c0162708 100644
--- a/components/document-upload.tsx
+++ b/components/document-upload.tsx
@@ -85,7 +85,7 @@ export default function DocumentUpload({
.arrayBuffer()
.then((buffer) => {
getPagesCount(buffer).then((numPages) => {
- if (numPages > 100) {
+ if (numPages > 250) {
toast.error("File has too many pages (max. 100)");
} else {
setCurrentFile(file);