-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathconfig.js
17 lines (17 loc) · 943 Bytes
/
config.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
if(process.env.NODE_ENV === 'undefined' || process.env.NODE_ENV !== 'production') require('dotenv').config();
module.exports = {
PORT: process.env.PORT,
SLACKBOT_TOKEN: process.env.SLACKBOT_TOKEN,
CIRCLECI_API_TOKEN: process.env.CIRCLECI_API_TOKEN,
GOOGLE_CONFIG: process.env.GOOGLE_CONFIG,
GOOGLE_APPLICATION_CREDENTIALS: process.env.GOOGLE_APPLICATION_CREDENTIALS,
ACRONYMS_SHEET: JSON.parse(process.env.ACRONYMS_SHEET),
NOTETAKERS_SHEET: JSON.parse(process.env.NOTETAKERS_SHEET),
DATABASE_URL: process.env.DATABASE_URL ? process.env.DATABASE_URL : process.env.DATABASE_DEV_URL,
AIRTABLE_TOKEN: process.env.AIRTABLE_TOKEN,
AIRTABLE_BASE: process.env.AIRTABLE_BASE,
NOTETAKERS_AIRTABLE_SHEET: process.env.NOTETAKERS_AIRTABLE_SHEET,
GHOST_INSPECTOR_API_KEY: process.env.GHOST_INSPECTOR_API_KEY,
GHOST_INSPECTOR_SCREENSHOTS_SUITE: process.env.GHOST_INSPECTOR_SCREENSHOTS_SUITE,
SERVER_URL: process.env.SERVER_URL
};