Skip to content

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

feat: increase file size limits

Marc Seitz22ee0be262c6
diff --git a/lib/utils/get-file-size-limits.ts b/lib/utils/get-file-size-limits.ts
index c3397442..ba12b943 100644
--- a/lib/utils/get-file-size-limits.ts
+++ b/lib/utils/get-file-size-limits.ts
@@ -17,7 +17,7 @@ export function getFileSizeLimits({
// Default limits based on plan type
const defaultLimits: FileSizeLimits = {
video: 500, // 500MB
- document: isFreePlan && !isTrial ? 30 : 350, // 30MB free, 100MB paid
+ document: isFreePlan && !isTrial ? 100 : 350, // 100MB free, 350MB paid
image: isFreePlan && !isTrial ? 30 : 100, // 30MB free, 100MB paid
excel: 40, // 40MB
};