26 lines
960 B
JSON
26 lines
960 B
JSON
{
|
|
"$schema": "https://openapi.vercel.sh/vercel.json",
|
|
"crons": [
|
|
{ "path": "/health", "schedule": "*/5 * * * *" }
|
|
],
|
|
"buildCommand": "npm run build",
|
|
"outputDirectory": ".",
|
|
"functions": {
|
|
"api/mcp.ts": {
|
|
"maxDuration": 30,
|
|
"memory": 1024,
|
|
"includeFiles": "{data/database.db,node_modules/node-sqlite3-wasm/dist/node-sqlite3-wasm.wasm,node_modules/.pnpm/node-sqlite3-wasm*/node_modules/node-sqlite3-wasm/dist/node-sqlite3-wasm.wasm}"
|
|
},
|
|
"api/health.ts": {
|
|
"maxDuration": 10,
|
|
"memory": 512,
|
|
"includeFiles": "{data/database.db,node_modules/node-sqlite3-wasm/dist/node-sqlite3-wasm.wasm,node_modules/.pnpm/node-sqlite3-wasm*/node_modules/node-sqlite3-wasm/dist/node-sqlite3-wasm.wasm}"
|
|
}
|
|
},
|
|
"rewrites": [
|
|
{ "source": "/mcp", "destination": "/api/mcp" },
|
|
{ "source": "/health", "destination": "/api/health" },
|
|
{ "source": "/version", "destination": "/api/health?version=1" }
|
|
]
|
|
}
|