vercel.json
{ "functions": { "api/trpc/[trpc].ts": { "maxDuration": 300 } } }
src/pages/api/trpc/[trpc].ts