| 1 | {
|
| 2 | "$schema": "https://openapi.vercel.sh/vercel.json",
|
| 3 | "buildCommand": "corepack pnpm build",
|
| 4 | "outputDirectory": "apps/dashboard/dist",
|
| 5 | "functions": {
|
| 6 | "api/*.ts": { "maxDuration": 30 }
|
| 7 | },
|
| 8 | "rewrites": [
|
| 9 | { "source": "/health", "destination": "/api/index?path=/health" },
|
| 10 | { "source": "/ready", "destination": "/api/index?path=/ready" },
|
| 11 | { "source": "/openapi.json", "destination": "/api/index?path=/openapi.json" },
|
| 12 | { "source": "/v0.1/:path*", "destination": "/api/index?path=/v0.1/:path*" },
|
| 13 | { "source": "/mcp", "destination": "/api/mcp" },
|
| 14 | {
|
| 15 | "source": "/.well-known/oauth-protected-resource",
|
| 16 | "destination": "/api/oauth-protected-resource"
|
| 17 | },
|
| 18 | { "source": "/login", "destination": "/" },
|
| 19 | { "source": "/dashboard", "destination": "/" },
|
| 20 | { "source": "/history", "destination": "/" },
|
| 21 | { "source": "/agents", "destination": "/" },
|
| 22 | { "source": "/insights", "destination": "/" },
|
| 23 | { "source": "/connect", "destination": "/" },
|
| 24 | { "source": "/settings", "destination": "/" }
|
| 25 | ]
|
| 26 | }
|