-
Notifications
You must be signed in to change notification settings - Fork 7
/
now.json
33 lines (33 loc) · 991 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
{
"name": "useIsInViewport",
"version": 2,
"alias": ["useIsInViewport.zdx.cat"],
"builds": [
{
"src": "examples/cra/package.json",
"use": "@now/static-build",
"config": { "distDir": "build" }
}
],
"routes": [
{
"src": "/static/(.*)",
"headers": { "cache-control": "s-maxage=31536000,immutable" },
"dest": "/examples/cra/static/$1"
},
{ "src": "/favicon.ico", "dest": "/examples/cra/favicon.ico" },
{ "src": "/asset-manifest.json", "dest": "/examples/cra/asset-manifest.json" },
{ "src": "/manifest.json", "dest": "/examples/cra/manifest.json" },
{ "src": "/precache-manifest.(.*)", "dest": "/examples/cra/precache-manifest.$1" },
{
"src": "/service-worker.js",
"headers": { "cache-control": "s-maxage=0" },
"dest": "/examples/cra/service-worker.js"
},
{
"src": "/(.*)",
"headers": { "cache-control": "s-maxage=0" },
"dest": "/examples/cra/index.html"
}
]
}