-
Notifications
You must be signed in to change notification settings - Fork 18
/
Copy pathvercel.json
29 lines (29 loc) · 1.32 KB
/
vercel.json
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
{
"buildCommand": "scripts/build-vercel-output.sh",
"installCommand": "npm install --no-fund --no-audit",
"redirects": [
{ "source": "/package.json", "destination": "/404" },
{ "source": "/prerender/:path*", "destination": "/404" },
{ "source": "/", "destination": "/catalog" },
{ "source": "/join_team", "destination": "https://backend.codecrafters.io/join_team" },
{ "source": "/setup_team", "destination": "https://backend.codecrafters.io/setup_team" },
{ "source": "/r/famous-wombat-417894", "destination": "/join?via=gnomezgrave" }
],
"rewrites": [
{ "source": "/concepts/:concept", "destination": "/prerender/concepts/[concept]" },
{ "source": "/progress/:match*", "destination": "https://backend.codecrafters.io/progress/:match*" },
{ "source": "/submissions", "destination": "https://backend.codecrafters.io/submissions" },
{ "source": "/submissions/:match*", "destination": "https://backend.codecrafters.io/submissions/:match*" },
{ "source": "/users/:user", "destination": "/prerender/users/[user]" },
{ "source": "/:path*", "destination": "/_empty.html" }
],
"github": {
"silent": true
},
"headers": [
{
"source": "/assets/([a-fA-F0-9]{20}).(svg|jpg|png)",
"headers": [{ "key": "Cache-Control", "value": "public, max-age=31556952, immutable" }]
}
]
}