-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathconfig.js
55 lines (48 loc) · 1.23 KB
/
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
const fs = require('fs');
exports.config = {
baseUrl: 'https://finger.farm',
baseFingerHost: 'finger.farm',
// oauth stuff
passport: {
github: {
clientID: 'CHANGE_ME',
clientSecret: 'CHANGE_ME',
callbackURL: 'https://finger.farm/auth/github/callback'
},
twitter: {
apiKey: 'CHANGE_ME',
apiSecret: 'CHANGE_ME',
callbackURL: 'https://finger.farm/auth/twitter/callback'
}
},
// finger config
fingerServer: {
port: 7979,
},
// web config
webServer: {
httpPort: 3000,
},
defaultUsers: {
help: {
name: 'Clippy',
plan: fs.readFileSync('./views/finger/help.txt', 'utf8')
},
about: {
name: 'Abouty McAboutface',
plan: fs.readFileSync('./views/finger/about.txt', 'utf8')
},
info: {
name: 'Gary the Marauder',
plan: fs.readFileSync('./views/finger/about.txt', 'utf8')
},
finger: {
name: 'The Finger',
plan: fs.readFileSync('./views/finger/finger.txt', 'utf8')
}
},
// google analytics
ga: {
id: 'XXXX'
}
};