-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.js
executable file
·31 lines (30 loc) · 982 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
27
28
29
30
31
var config = {
production: {
session: {
key: 'thesegKEysaRESOharedTO2GuEs',
secret: 'versupersecretkeythatsbetterthantheotheronethatnoonewillguess'
},
// mongodb://patcon23:sdafljfklasdjflkadsn@host1:port1
database: 'mongodb://heroku_j7pqr1r7:[email protected]:31900/heroku_j7pqr1r7',
facebook: {
'appID' : '1966581126958029',
'appSecret' : 'a8d4ea705b211710a6d66fdf8a25517f',
'callbackUrl' : 'https://hikali.herokuapp.com/login/facebook/callback'
}
},
default: {
session: {
key: 'thesegKEysaRESOharedTO2GuEs',
secret: 'superdupersecretkeythatnoonewillguess'
},
database: 'mongodb://localhost/fbDB',
facebook: {
'appID' : '1966581126958029',
'appSecret' : 'a8d4ea705b211710a6d66fdf8a25517f',
'callbackUrl' : 'https://f66f484b.ngrok.io/login/facebook/callback'
}
}
}
exports.get = function get(env) {
return config[env] || config.default;
}