-
Notifications
You must be signed in to change notification settings - Fork 93
Expand file tree
/
Copy pathvercel.json
More file actions
50 lines (43 loc) · 2.28 KB
/
Copy pathvercel.json
File metadata and controls
50 lines (43 loc) · 2.28 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
{
"$schema": "https://openapi.vercel.sh/vercel.json",
"buildCommand": "node scripts/sync-skills.js && npx vite build",
"outputDirectory": "dist/public",
"installCommand": "npm install",
"framework": null,
"headers": [
{
"source": "/og-image.png",
"headers": [
{ "key": "Cache-Control", "value": "public, max-age=0, must-revalidate" }
]
},
{
"source": "/api/v1/(.*)",
"headers": [
{ "key": "Cache-Control", "value": "public, s-maxage=60, stale-while-revalidate=120" }
]
}
],
"rewrites": [
{ "source": "/api/v1/agents/register", "destination": "/api/v1/agents/register" },
{ "source": "/api/v1/agents/:agentId", "destination": "/api/v1/agents/[agentId]" },
{ "source": "/api/v1/feedback/score/:skill", "destination": "/api/v1/feedback/score/[skill]" },
{ "source": "/api/v1/feedback/stats", "destination": "/api/v1/feedback/stats" },
{ "source": "/api/v1/feedback/:skill", "destination": "/api/v1/feedback/[skill]" },
{ "source": "/api/v1/feedback", "destination": "/api/v1/feedback/index" },
{ "source": "/api/v1/auth/github", "destination": "/api/v1/auth/github" },
{ "source": "/api/v1/auth/callback", "destination": "/api/v1/auth/callback" },
{ "source": "/api/v1/auth/me", "destination": "/api/v1/auth/me" },
{ "source": "/api/v1/creators/wallet", "destination": "/api/v1/creators/wallet" },
{ "source": "/api/v1/creators/dashboard", "destination": "/api/v1/creators/dashboard" },
{ "source": "/api/v1/creators/:id", "destination": "/api/v1/creators/[id]" },
{ "source": "/api/v1/skills/marketplace", "destination": "/api/v1/skills/marketplace" },
{ "source": "/api/v1/skills/private/upload", "destination": "/api/v1/skills/private/upload" },
{ "source": "/api/v1/skills/private/:id/download", "destination": "/api/v1/skills/private/[id]/download" },
{ "source": "/api/v1/skills/private/:id", "destination": "/api/v1/skills/private/[id]" },
{ "source": "/api/v1/payments/mpp/session", "destination": "/api/v1/payments/mpp/session" },
{ "source": "/api/v1/payments/mpp/purchase", "destination": "/api/v1/payments/mpp/purchase" },
{ "source": "/api/v1/licenses/my", "destination": "/api/v1/licenses/my" },
{ "source": "/(.*)", "destination": "/index.html" }
]
}