-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathnow.json
More file actions
41 lines (41 loc) · 767 Bytes
/
now.json
File metadata and controls
41 lines (41 loc) · 767 Bytes
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
{
"version": 2,
"name": "covaid-web",
"alias": "covaid-web.now.sh",
"builds": [
{
"src": "index.js",
"use": "@now/node"
},
{
"src": "client/package.json",
"use": "@now/static-build",
"config": {
"distDir": "build"
}
}
],
"routes": [
{
"src": "/api/(.*)",
"headers": {
"cache-control": "s-maxage=31536000,immutable"
},
"dest": "index.js"
},
{
"src": "/static/(.*)",
"headers": {
"cache-control": "s-maxage=31536000,immutable"
},
"dest": "client/static/$1"
},
{
"src": "/(.*)",
"headers": {
"cache-control": "s-maxage=31536000,immutable"
},
"dest": "client/index.html"
}
]
}