-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathvercel.json
More file actions
31 lines (31 loc) · 1.03 KB
/
vercel.json
File metadata and controls
31 lines (31 loc) · 1.03 KB
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
26
27
28
29
30
31
{
"$schema": "https://openapi.vercel.sh/vercel.json",
"framework": null,
"buildCommand": null,
"installCommand": "npm install",
"functions": {
"api/cron/cost-rollup.ts": {
"maxDuration": 60
},
"api/**/*.ts": {
"maxDuration": 30
}
},
"crons": [
{
"path": "/api/cron/cost-rollup",
"schedule": "0 6 * * *"
}
],
"rewrites": [
{ "source": "/call/incoming", "destination": "/api/call/incoming" },
{ "source": "/call/status", "destination": "/api/call/status" },
{ "source": "/call/outbound", "destination": "/api/call/outbound" },
{ "source": "/health", "destination": "/api/health" },
{ "source": "/dashboard", "destination": "/api/dashboard" },
{ "source": "/records", "destination": "/api/records" },
{ "source": "/records/by-role/:role", "destination": "/api/records/by-role/:role" },
{ "source": "/records/by-status/:status", "destination": "/api/records/by-status/:status" },
{ "source": "/records/:callSid", "destination": "/api/records/:callSid" }
]
}