-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnow.json
80 lines (80 loc) · 1.56 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
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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
{
"version": 2,
"name": "mdxcms",
"alias": "mdxcms.com",
"builds": [
{
"src": "www/next.config.js",
"use": "@now/next"
},
{
"src": "api/graphql/index.js",
"use": "@now/node-server"
},
{
"src": "api/rest/**/*.js",
"use": "@now/node"
},
{
"src": "assets/**/*",
"use": "@now/static"
},
{
"src": "integration-static/**/*",
"use": "@now/static"
},
{
"src": "now-integration/src/index.ts",
"use": "@now/node"
}
],
"routes": [
{
"src": "/api/graphql",
"dest": "/api/graphql/index.js"
},
{
"src": "/api/oauth",
"dest": "/api/rest/oauth/index.js"
},
{
"src": "/api/file",
"dest": "/api/rest/file/index.js"
},
{
"src": "/api/fileHook",
"dest": "/api/rest/file/fileHook.js"
},
{
"src": "/api/repoHook",
"dest": "/api/rest/repoHook.js"
},
{
"src": "/api/zeit/projects",
"dest": "/api/rest/zeit/projects.js"
},
{
"src": "/assets/(.*)",
"dest": "/assets/$1"
},
{
"src": "/integration-static/(.*)",
"dest": "/integration-static/$1"
},
{
"src": "/now-integration",
"dest": "/now-integration/src/index.ts"
},
{
"src": "/(.*)",
"dest": "/www/$1"
}
],
"env": {
"JWT_SECRET": "@jwt-token",
"NOW_INTEGRATION_SECRET": "@now-integration-secret",
"NOW_INTEGRATION_ID": "@now-integration-id",
"HOST": "@mdxcms-host",
"MDXCMS_SECRET": "@mdxcms-mdxcms-token"
}
}