Skip to content

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

feat: increase maxduration

Marc Seitzaf1ba7823fb1
diff --git a/pages/api/file/tus-viewer/[[...file]].ts b/pages/api/file/tus-viewer/[[...file]].ts
index 74e06679..f5a8d6ea 100644
--- a/pages/api/file/tus-viewer/[[...file]].ts
+++ b/pages/api/file/tus-viewer/[[...file]].ts
@@ -15,6 +15,7 @@ import { lockerRedisClient } from "@/lib/redis";
import { log } from "@/lib/utils";
export const config = {
+ maxDuration: 60,
api: {
bodyParser: false,
},
diff --git a/pages/api/file/tus/[[...file]].ts b/pages/api/file/tus/[[...file]].ts
index 6db62113..ef4e1933 100644
--- a/pages/api/file/tus/[[...file]].ts
+++ b/pages/api/file/tus/[[...file]].ts
@@ -16,6 +16,7 @@ import { log } from "@/lib/utils";
import { authOptions } from "../../auth/[...nextauth]";
export const config = {
+ maxDuration: 60,
api: {
bodyParser: false,
},