We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 02259a2 commit f25c0fdCopy full SHA for f25c0fd
pages/api/links/download/dataroom-document.ts
@@ -10,7 +10,7 @@ import { getFileNameWithPdfExtension } from "@/lib/utils";
10
import { getIpAddress } from "@/lib/utils/ip";
11
12
export const config = {
13
- maxDuration: 180,
+ maxDuration: 300,
14
};
15
16
export default async function handle(
pages/api/links/download/index.ts
@@ -8,6 +8,11 @@ import prisma from "@/lib/prisma";
8
import { getFileNameWithPdfExtension } from "@/lib/utils";
9
+// This function can run for a maximum of 300 seconds
+export const config = {
+};
+
17
req: NextApiRequest,
18
res: NextApiResponse,
0 commit comments