| 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 | {
|
| 19 | "source": "/.well-known/oauth-authorization-server",
|
| 20 | "destination": "/api/oauth-authorization-server"
|
| 21 | },
|
| 22 | { "source": "/login", "destination": "/" },
|
| 23 | { "source": "/sso-callback", "destination": "/" },
|
| 24 | { "source": "/dashboard", "destination": "/" },
|
| 25 | { "source": "/history", "destination": "/" },
|
| 26 | { "source": "/agents", "destination": "/" },
|
| 27 | { "source": "/insights", "destination": "/" },
|
| 28 | { "source": "/connect", "destination": "/" },
|
| 29 | { "source": "/settings", "destination": "/" }
|
| 30 | ]
|
| 31 | }
|