-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathnow.json
More file actions
38 lines (38 loc) · 1.63 KB
/
Copy pathnow.json
File metadata and controls
38 lines (38 loc) · 1.63 KB
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
{
"version": 2,
"name": "api",
"env": {
"IS_NOW": "true",
"DB_USER": "@db_user",
"DB_NAME": "@db_name",
"DB_PASSWORD": "@db_password",
"DB_HOST": "@db_host",
"DB_PORT": "@db_port",
"DB_STAGING_NAME": "@db_staging_name",
"DB_STAGING_USER": "@db_staging_user",
"DB_STAGING_PASSWORD": "@db_staging_password",
"DB_STAGING_HOST": "@db_staging_endpoint",
"DB_STAGING_PORT": "@db_staging_port",
"AUTH_KEY": "@auth_key"
},
"builds": [
{ "src": "src/components/actions/index.ts", "use": "@now/node@canary" },
{ "src": "src/components/batches/index.ts", "use": "@now/node@canary" },
{ "src": "src/components/employees/index.ts", "use": "@now/node@canary" },
{ "src": "src/components/recipes/index.ts", "use": "@now/node@canary" },
{ "src": "src/components/tanks/index.ts", "use": "@now/node@canary" },
{ "src": "src/components/tasks/index.ts", "use": "@now/node@canary" },
{ "src": "src/components/versions/index.ts", "use": "@now/node@canary" },
{ "src": "src/index.ts", "use": "@now/node@canary" }
],
"routes": [
{ "src": "/actions/(.*)", "dest": "/src/components/actions/index.ts"},
{ "src": "/batches/(.*)", "dest": "/src/components/batches/index.ts"},
{ "src": "/employees/(.*)", "dest": "/src/components/employees/index.ts"},
{ "src": "/recipes/(.*)", "dest": "/src/components/recipes/index.ts"},
{ "src": "/tanks/(.*)", "dest": "/src/components/tanks/index.ts"},
{ "src": "/tasks/(.*)", "dest": "/src/components/tasks/index.ts"},
{ "src": "/versions/(.*)", "dest": "/src/components/versions/index.ts"},
{ "src": "/(.*)", "dest": "/src/index.ts"}
]
}