mtfosbot/config/index.js

23 lines
607 B
JavaScript
Raw Normal View History

2018-06-25 10:07:10 +00:00
module.exports = {
port: process.env.NODE_PORT || 10230,
2018-06-28 09:37:33 +00:00
url: process.env.HOST_URL || '',
2018-06-25 10:07:10 +00:00
line: {
secret: process.env.LINE_SECRET || '',
access: process.env.LINE_ACCESS || ''
},
twitch: {
clientid: process.env.TWITCH_CLIENT_ID || '',
subsecret: process.env.TWITCH_SUB_SECRET || ''
},
2018-07-06 09:57:49 +00:00
google: {
apikey: process.env.GOOGLE_API_KEY || ''
},
database: {
host: process.env.DB_HOST || 'localhost',
port: process.env.DB_PORT || 5432,
user: process.env.DB_USER || 'postgres',
pass: process.env.DB_PASS || '',
dbname: process.env.DB_NAME || 'mtfosbot'
2018-06-25 10:07:10 +00:00
}
}