forked from jbergant/chatbot-facebook-v2-final
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.js
executable file
·26 lines (26 loc) · 1015 Bytes
/
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
module.exports = {
FB_PAGE_TOKEN: process.env.FB_PAGE_TOKEN,
FB_APP_ID: process.env.FB_APP_ID,
FB_VERIFY_TOKEN: process.env.FB_VERIFY_TOKEN,
FB_APP_SECRET: process.env.FB_APP_SECRET,
SERVER_URL: process.env.SERVER_URL,
GOOGLE_PROJECT_ID: process.env.GOOGLE_PROJECT_ID,
DF_LANGUAGE_CODE: process.env.DF_LANGUAGE_CODE,
GOOGLE_CLIENT_EMAIL: process.env.GOOGLE_CLIENT_EMAIL,
GOOGLE_PRIVATE_KEY: JSON.parse(process.env.GOOGLE_PRIVATE_KEY),
SENGRID_API_KEY: process.env.SENGRID_API_KEY,
EMAIL_FROM: process.env.EMAIL_FROM,
EMAIL_TO: process.env.EMAIL_TO,
WEATHER_API_KEY: process.env.WEATHER_API_KEY,
ADMIN_ID: process.env.ADMIN_ID,
PG_CONFIG: {
user: process.env.PG_CONFIG_USER,
database: process.env.PG_CONFIG_DATABASE,
password: process.env.PG_CONFIG_PASSWORD,
host: process.env.PG_CONFIG_HOST,
port: 5432,
max: 10,
idleTimeoutMillis: 30000,
},
FB_PAGE_INBOX_ID: process.env.FB_PAGE_INBOX_ID
};