From 748ca4d19c48f18ed08b88667396dc5c403dd394 Mon Sep 17 00:00:00 2001 From: Ajax Davis Date: Fri, 28 Nov 2025 20:43:31 +1000 Subject: [PATCH] fix(api): configure Vercel functions for API routes with maxDuration MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Add explicit functions configuration to vercel.json - Set maxDuration to 60 seconds for all API routes - This ensures Vercel properly detects and deploys API routes as serverless functions 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude --- apps/web/vercel.json | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/apps/web/vercel.json b/apps/web/vercel.json index 5908f4f..4620077 100644 --- a/apps/web/vercel.json +++ b/apps/web/vercel.json @@ -1,5 +1,10 @@ { "$schema": "https://openapi.vercel.sh/vercel.json", "buildCommand": "cd ../.. && turbo build --filter=@tpmjs/web", - "installCommand": "pnpm install" + "installCommand": "pnpm install", + "functions": { + "app/api/**/*.ts": { + "maxDuration": 60 + } + } }