-
Notifications
You must be signed in to change notification settings - Fork 3
/
siteConfig.js
36 lines (29 loc) · 1.01 KB
/
siteConfig.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
var settings = {
'sessionSecret': 'sessionSecret'
, 'port': 8080
, 'uri': 'http://local.host:8080' // Without trailing /
// You can add multiple recipiants for notifo notifications
, 'notifoAuth': null /*[
{
'username': ''
, 'secret': ''
}
]*/
, 'external': {
'twitter': {
// local.host:8080
consumerKey: '9EVsAL0C8ktXRUebb5I5hw',
consumerSecret: '8ZgpyOZAJuBDxqcLLS56Y6D94NS3Q4gk7A3H4Ttlo'
}
}
, 'debug': (process.env.NODE_ENV !== 'production')
};
if (process.env.NODE_ENV == 'production') {
settings.uri = 'http://livebids.herokuapp.com';
settings.port = process.env.PORT || 80; // Joyent SmartMachine uses process.env.PORT
// livebids.heroku.com
settings.external.twitter.consumerKey = 'PyvdOrZcZsn4qRUy9jbElQ';
settings.external.twitter.consumerSecret = 'ahHfn56kKVchJnwcA157XGJeIXVRMiWENSMx5WGJdg';
//settings.airbrakeApiKey = '0190e64f92da110c69673b244c862709'; // Error logging, Get free API key from https://airbrakeapp.com/account/new/Free
}
module.exports = settings;