From 60a2d4acca5363411822c8071089d843fb8c49eb Mon Sep 17 00:00:00 2001 From: arshad Date: Tue, 7 Jan 2025 17:27:40 +0300 Subject: [PATCH] chore: export max duration [skip-release] --- website/app/api/extract/route.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/website/app/api/extract/route.ts b/website/app/api/extract/route.ts index 801572e..3c9210f 100644 --- a/website/app/api/extract/route.ts +++ b/website/app/api/extract/route.ts @@ -7,6 +7,8 @@ const ocrllm = new OcrLLM({ key: process.env.OPENAI_API_KEY!, }); +export const maxDuration = 60; + export async function POST(req: NextRequest) { try { const formData = await req.formData();