forked from ccforward/zhihu
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.js.sample
More file actions
43 lines (43 loc) · 895 Bytes
/
config.js.sample
File metadata and controls
43 lines (43 loc) · 895 Bytes
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
module.exports = {
auth: '',
mongo: {
name: 'zhihu',
host: '127.0.0.1',
port: 27017,
username: 'cc',
password: '12345',
url: function() {
return ['mongodb://',
this.username, ':',
this.password, '@',
this.host, ':', this.port, '/', this.name].join('');
}
},
mongoOptions: {
server: {
poolSize: 1,
socketOptions: {
auto_reconnect: true
}
}
},
log: {
isOpenningHTTP: true,
isOpenningNode: true,
openBae: false
},
mail: {
user: '**@gmail.com',
pass: ''
},
spider: {
fire: false,
openTask: false,
start: '20151231',
end: '20151001',
interval: 10
},
fe: {
developing: true
}
}