Skip to content

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

feat: update page limit

Marc Seitz476834d5cd1c
diff --git a/components/document-upload.tsx b/components/document-upload.tsx
index c0162708..c6b4d354 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 > 250) {
+ if (numPages > 300) {
toast.error("File has too many pages (max. 100)");
} else {
setCurrentFile(file);