-
Notifications
You must be signed in to change notification settings - Fork 0
/
now.json
57 lines (57 loc) · 1001 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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
{
"version": 2,
"name": "zli-web",
"builds": [
{
"src": "dist/**",
"use": "@now/static"
},
{
"src": "storybook-static/**",
"use": "@now/static"
},
{
"src": "api/dist/main.js",
"use": "@now/node"
}
],
"routes": [
{
"src": "/api/(.*)",
"dest": "api/dist/main.js"
},
{
"src": "/js/(.*)",
"dest": "dist/js/$1"
},
{
"src": "/css/(.*)",
"dest": "dist/css/$1"
},
{
"src": "/img/(.*)",
"dest": "dist/img/$1"
},
{
"src": "/storybook",
"dest": "storybook-static/index.html"
},
{
"src": "^/(.*).js",
"dest": "storybook-static/$1.js"
},
{
"src": "/iframe.html",
"dest": "storybook-static/iframe.html"
},
{
"src": "/(.*)",
"dest": "dist/index.html"
}
],
"env": {
"FAUNA_SECRET_KEY": "@fauna-secret-key",
"SALT": "@password-salt",
"TOKEN_SECRET": "@token-secret"
}
}