forked from gaearon/overreacted.io
-
Notifications
You must be signed in to change notification settings - Fork 0
/
now.json
28 lines (28 loc) · 1011 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
{
"version": 2,
"routes": [
{ "src": "/zh_TW/things-i-dont-know-as-of-2018/", "dest": "/zh-hant/things-i-dont-know-as-of-2018/" },
{ "src": "/not-everything-should-be-a-hook/", "dest": "/why-isnt-x-a-hook/" },
{ "src": "/rendering-optimizations-without-memo/", "dest": "/before-you-memo/" },
{ "src": "/making-setinterval-play-well-with-react-hooks/", "dest": "/making-setinterval-declarative-with-react-hooks/" },
{
"src": "/static/(.*)",
"dest": "/static/$1",
"headers": { "cache-control": "public,max-age=31536000,immutable" }
},
{
"src": "/(.*\\.(js|json|css|ico|png)$)",
"dest": "/$1",
"headers": { "cache-control": "public,max-age=31536000,immutable" }
},
{
"src": "/(.*)",
"dest": "/$1",
"headers": { "cache-control": "public, max-age=0, must-revalidate" }
}
],
"alias": "overreacted.io",
"builds": [
{ "use": "@now/static-build", "src": "package.json", "config": { "distDir": "public" } }
]
}