Skip to content

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

feat: increase max file size limit

Marc Seitzb7feb7ea6ef5
diff --git a/components/upload-zone.tsx b/components/upload-zone.tsx
index 15e09b38..7128eeb1 100644
--- a/components/upload-zone.tsx
+++ b/components/upload-zone.tsx
@@ -108,7 +108,7 @@ export default function UploadZone({
const { data: session } = useSession();
const isFreePlan = plan === "free";
const isTrial = !!trial;
- const maxSize = isFreePlan && !isTrial ? 30 : 250;
+ const maxSize = isFreePlan && !isTrial ? 30 : 350;
const maxNumPages = isFreePlan && !isTrial ? 100 : 500;
const { limits, canAddDocuments } = useLimits();
const remainingDocuments = limits?.documents