generated from mazipan/react-workshop
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvercel.json
44 lines (44 loc) · 961 Bytes
/
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
41
42
43
44
{
"version": 2,
"builds": [
{
"src": "build/public/**",
"use": "@vercel/static"
},
{
"src": "build/server.js",
"use": "@vercel/node"
}
],
"routes": [
{
"src": "/favicon.ico",
"dest": "build/public/favicon.ico",
"headers": { "Cache-Control": "public, max-age=31556952" }
},
{
"src": "/robots.txt",
"dest": "build/public/robots.txt"
},
{
"src": "/logo-devcamp-2021.png",
"dest": "build/public/logo-devcamp-2021.png",
"headers": { "Cache-Control": "public, max-age=31556952" }
},
{
"src": "/logo-devcamp-2021.webp",
"dest": "build/public/logo-devcamp-2021.webp",
"headers": { "Cache-Control": "public, max-age=31556952" }
},
{
"src": "/static/(.*)",
"dest": "build/public/static/$1",
"headers": { "Cache-Control": "public, max-age=86400" }
},
{
"src": "/(.*)",
"dest": "build/server.js",
"headers": { "Cache-Control": "public, max-age=6000" }
}
]
}