-
Notifications
You must be signed in to change notification settings - Fork 129
/
Copy pathconfig.js
59 lines (58 loc) · 1.15 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
56
57
58
59
import rc from 'rc'
export default rc('david', {
brains: {
cacheTime: 86400000
},
github: {
api: {
version: '3.0.0',
protocol: 'https',
host: 'api.github.com',
pathPrefix: null,
timeout: 5000,
caFile: null
},
protocol: 'https',
host: 'github.com',
oauth: {
clientId: null,
secret: null
},
token: null
},
npm: {
hostname: 'https://www.npmjs.com',
options: {
registry: 'http://registry.npmjs.org'
},
feed: 'https://skimdb.npmjs.com/registry'
},
site: {
hostname: 'http://localhost:1337'
},
db: {
path: 'data'
},
nsp: {
syncAdvisoriesInterval: 3600000
},
public: {
siteUrl: 'http://localhost:1337',
apiUrl: 'http://localhost:1337',
projectApiUrl: 'http://localhost:3001',
statusApiUrl: 'http://localhost:3002',
// statusApiUrl: 'https://status.david-dm.org',
// projectApiUrl: 'https://project.david-dm.org',
githubUrl: 'https://github.com',
github: {
protocol: 'https',
host: 'github.com',
oauth: {
clientId: null
}
},
google: {
trackingId: ''
}
}
})