Skip to content

armgit / Cap

Public Imported from GitHub
0

Open source Loom alternative. Beautiful, shareable screen recordings.

feat: Add maxDuration to transcribe route

Richie McIlroy4b202da8da32
diff --git a/apps/web/app/api/transcribe/route.ts b/apps/web/app/api/transcribe/route.ts
index e75cfb15a..a9a754cdc 100644
--- a/apps/web/app/api/transcribe/route.ts
+++ b/apps/web/app/api/transcribe/route.ts
@@ -13,6 +13,8 @@ import { db } from "@cap/database";
import { videos } from "@cap/database/schema";
import { eq } from "drizzle-orm";
+export const maxDuration = 120;
+
export async function OPTIONS(request: NextRequest) {
const origin = request.headers.get("origin") as string;