-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnow.json
52 lines (52 loc) · 1.46 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
{
"version": 2,
"alias": "nextssenger.now.sh",
"builds": [
{
"src": "backend/**/*.js",
"use": "@now/node"
},
{
"src": "www/package.json",
"use": "@now/next"
}
],
"routes": [
{
"src": "/auth",
"dest": "/backend/auth/google/index.js"
},
{
"src": "/auth/google",
"dest": "/backend/auth/google/cb.js"
},
{
"src": "/logout",
"dest": "/backend/logout/index.js"
},
{
"src": "/(.*)",
"dest": "/www/$1",
"continue": true
}
],
"build": {
"env": {
"COOKIE_KEY_1": "@nextssenger-cookie-key-1",
"COOKIE_KEY_2": "@nextssenger-cookie-key-2",
"CHATKIT_LOCATOR": "@nextssenger-chatkit-locator",
"CHATKIT_TOKEN": "@nextssenger-chatkit-token",
"JWT_KEY": "@nextssenger-jwt-key"
}
},
"env": {
"GOOGLE_CLIENT_ID": "@nextssenger-google-client-id",
"GOOGLE_CLIENT_SECRET": "@nextssenger-google-client-secret",
"COOKIE_KEY_1": "@nextssenger-cookie-key-1",
"COOKIE_KEY_2": "@nextssenger-cookie-key-2",
"CHATKIT_SECRET": "@nextssenger-chatkit-secret",
"CHATKIT_LOCATOR": "@nextssenger-chatkit-locator",
"CHATKIT_TOKEN": "@nextssenger-chatkit-token",
"JWT_KEY": "@nextssenger-jwt-key"
}
}