-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.js
47 lines (46 loc) · 1.01 KB
/
config.js
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
const dotenv = require("dotenv");
dotenv.config();
exports.config = {
crypto: {
secret_key: process.env.SECRET_KEY,
jwt: process.env.AUTH_JWT_SECRET,
},
app: {
port: process.env.PORT,
db: process.env.DB,
},
google: {
key: process.env.G_API_KEY,
},
distriator: {
account: process.env.APP_ACCOUNT,
key: process.env.APP_KEY,
v4v: process.env.V4V_APP,
},
webHooks: {
admin: {
id: process.env.ADMIN_WH_ID,
token: process.env.ADMIN_WH_TOKEN,
},
guide: {
id: process.env.GUIDE_WH_ID,
token: process.env.GUIDE_WH_TOKEN,
},
owner: {
id: process.env.OWNER_WH_ID,
token: process.env.OWNER_WH_TOKEN,
},
user: {
id: process.env.USER_WH_ID,
token: process.env.USER_WH_TOKEN,
},
distriatorTransfer: {
id: process.env.DISTRIATOR_TRF_WH_ID,
token: process.env.DISTRIATOR_TRF_WH_TOKEN,
},
business: {
id: process.env.BUSINESS_WH_ID,
token: process.env.BUSINESS_WH_TOKEN,
},
},
};