forked from mape/node-express-boilerplate
-
Notifications
You must be signed in to change notification settings - Fork 0
/
siteConfig.sample.js
40 lines (36 loc) · 1.09 KB
/
siteConfig.sample.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
var settings = {
'sessionSecret': 'sessionSecret'
, 'port': 8080
, 'uri': 'http://localhost:8080' // Without trailing /
// You can add multiple recipiants for notifo notifications
, 'notifoAuth': null /*[
{
'username': ''
, 'secret': ''
}
]*/
/*
// Enter API keys to enable auth services, remove entire object if they aren't used.
, 'external': {
'facebook': {
appId: '123983866527489',
appSecret: '6edf1327ege27bbba2e239f73cd866c4'
}
, 'twitter': {
consumerKey: 'eA54JQ6rtdZE7nqaRa6Oa',
consumerSecret: '6u2makgFdf4F6EauP7osa54L34SouU6eLgaadTD435Rw'
}
, 'github': {
appId: '1444g6a7d26a3f716b47',
appSecret: 'e84f13367f328da4b8c96a4f74gfe7e421b6a206'
}
}
*/
, 'debug': (process.env.NODE_ENV !== 'production')
};
if (process.env.NODE_ENV == 'production') {
settings.uri = 'http://yourname.no.de';
settings.port = process.env.PORT || 80; // Joyent SmartMachine uses process.env.PORT
//settings.airbrakeApiKey = '0190e64f92da110c69673b244c862709'; // Error logging, Get free API key from https://airbrakeapp.com/account/new/Free
}
module.exports = settings;