-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathnow.json
36 lines (36 loc) · 919 Bytes
/
now.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
{
"version": 2,
"name": "rattle-battle",
"builds": [
{
"src": "client/package.json",
"use": "@now/static-build",
"config": { "distDir": "build" }
}
],
"routes": [
{
"src": "^/static/(.*)",
"headers": { "cache-control": "s-maxage=31536000,immutable" },
"dest": "client/static/$1"
},
{ "src": "^/favicon.ico", "dest": "client/favicon.ico" },
{ "src": "^/asset-manifest.json", "dest": "client/asset-manifest.json" },
{ "src": "^/manifest.json", "dest": "client/manifest.json" },
{
"src": "^/precache-manifest.(.*)",
"dest": "client/precache-manifest.$1"
},
{
"src": "^/(.*)",
"headers": { "cache-control": "s-maxage=0" },
"dest": "client/index.html"
}
],
"alias": ["rattle-battle.now.sh"],
"build": {
"env": {
"REACT_APP_API_URI": "https://rattle-battle-233917.appspot.com"
}
}
}