-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathvercel.json
More file actions
25 lines (25 loc) · 888 Bytes
/
Copy pathvercel.json
File metadata and controls
25 lines (25 loc) · 888 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
{
"$schema": "https://openapi.vercel.sh/vercel.json",
"buildCommand": "bun install --frozen-lockfile && bun run build && cd app && bun install --frozen-lockfile && bunx vite build",
"outputDirectory": "app/dist",
"framework": null,
"redirects": [
{ "source": "/og.png", "destination": "/og-v3.png", "permanent": true },
{ "source": "/og-v2.png", "destination": "/og-v3.png", "permanent": true }
],
"headers": [
{
"source": "/og-v3.png",
"headers": [
{ "key": "Cache-Control", "value": "public, max-age=31536000, immutable" },
{ "key": "Content-Type", "value": "image/png" }
]
}
],
"rewrites": [
{ "source": "/api/(.*)", "destination": "/api/serverless" },
{ "source": "/mcp", "destination": "/api/serverless" },
{ "source": "/health", "destination": "/api/serverless" },
{ "source": "/((?!api|mcp|health).*)", "destination": "/index.html" }
]
}