forked from sanyaade-iot/next-site
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnow.json
32 lines (32 loc) · 1.03 KB
/
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
{
"version": 2,
"builds": [
{ "src": "google79eca80c0e444114.html", "use": "@now/static" },
{ "src": "www/package.json", "use": "@now/static-build" },
{ "src": "learn/package.json", "use": "@now/next@canary" }
],
"routes": [
{ "src": "/learn/_next(.*)", "dest": "/learn/_next$1" },
{ "src": "/learn/?", "dest": "/learn/learn/content?course=basics&lesson=getting-started" },
{
"src": "/learn/(?:([^/]+?))/(?:([^/]+?))/?$",
"dest": "/learn/learn/content?course=$1&lesson=$2"
},
{
"src": "/learn/(?:([^/]+?))/(?:([^/]+?))/(?:([^/]+?))/?$",
"dest": "/learn/learn/content?course=$1&lesson=$2&step=$3"
},
{ "src": "/google79eca80c0e444114.html", "dest": "/google79eca80c0e444114.html" },
{
"src": "/features/?",
"status": 301,
"headers": { "Location": "/features/static-exporting" }
},
{
"src": "/features/ssr/?",
"status": 301,
"headers": { "Location": "/features/server-side-rendering" }
},
{ "src": "(.*)", "dest": "/www$1" }
]
}