-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathvercel.json
More file actions
57 lines (57 loc) · 1.72 KB
/
Copy pathvercel.json
File metadata and controls
57 lines (57 loc) · 1.72 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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
{
"version": 2,
"framework": "nextjs",
"functions": {
"src/app/api/**/*.ts": {
"maxDuration": 30
},
"src/app/api/sync/route.ts": {
"maxDuration": 300
},
"src/app/api/sync/[source]/route.ts": {
"maxDuration": 300
},
"src/app/api/cron/health-check/route.ts": {
"maxDuration": 30
},
"src/app/api/cron/notify/route.ts": {
"maxDuration": 120
},
"src/app/api/cron/notify-signups/route.ts": {
"maxDuration": 60
}
},
"headers": [
{
"source": "/api/:group(bills|search|intelligence|geo)/:path*",
"headers": [
{
"key": "Access-Control-Allow-Origin",
"value": "*"
},
{
"key": "Access-Control-Allow-Methods",
"value": "GET, POST, PUT, DELETE, OPTIONS"
},
{
"key": "Access-Control-Allow-Headers",
"value": "Content-Type, Authorization"
}
]
}
],
"env": {
"NODE_ENV": "production"
},
"crons": [
{ "path": "/api/sync?source=bills&useChangeHash=true&skipBillSponsorDetails=true&historicSessions=1", "schedule": "0 5 * * *" },
{ "path": "/api/sync?source=legislators", "schedule": "0 6 * * *" },
{ "path": "/api/sync?source=votes&limit=5", "schedule": "15 6 * * *" },
{ "path": "/api/cron/notify", "schedule": "0 11 * * *" },
{ "path": "/api/sync?source=lrc-committee-materials", "schedule": "30 13 * * *" },
{ "path": "/api/cron/health-check", "schedule": "0 14 * * *" },
{ "path": "/api/cron/notify-signups", "schedule": "0 */6 * * *" },
{ "path": "/api/sync?source=lrc-enrollment-actions", "schedule": "45 14 * * *" },
{ "path": "/api/sync?source=lrc-popular-names", "schedule": "30 15 * * 0" }
]
}