-
Notifications
You must be signed in to change notification settings - Fork 13
/
vercel.json
40 lines (40 loc) · 1.25 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
30
31
32
33
34
35
36
37
38
39
40
{
"buildCommand": "npm run build > >(tee -a build-output.log) 2> >(tee -a build-output.log >&2) && ! (cat build-output.log | grep -qi error) && echo \"No errors found in build output\"",
"rewrites": [
{ "source": "/submissions", "destination": "https://backend.codecrafters.io/submissions" },
{ "source": "/submissions/:match*", "destination": "https://backend.codecrafters.io/submissions/:match*" },
{ "source": "/progress/:match*", "destination": "https://backend.codecrafters.io/progress/:match*" },
{ "source": "/:path*", "destination": "/_empty.html" }
],
"redirects": [
{
"source": "/r/famous-wombat-417894",
"destination": "/join?via=gnomezgrave"
},
{
"source": "/",
"destination": "/catalog"
},
{
"source": "/join_team",
"destination": "https://backend.codecrafters.io/join_team"
},
{
"source": "/setup_team",
"destination": "https://backend.codecrafters.io/setup_team"
},
{
"source": "/package.json",
"destination": "/"
}
],
"github": {
"silent": true
},
"headers": [
{
"source": "/assets/([a-fA-F0-9]{20}).(svg|jpg|png)",
"headers": [{ "key": "Cache-Control", "value": "public, max-age=31556952, immutable" }]
}
]
}