-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.ts
40 lines (35 loc) · 840 Bytes
/
config.ts
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
///<reference path='./typings/main.d.ts' />
export var config = {
database: {
prod: {
host: '10.0.100.118',
user: 'ahg',
password: 'jira12345',
database: 'sauron'
},
dev: {
host: 'localhost',
user: 'root',
password: 'root',
database: 'sauron'
}
},
log: {
console: {
level: 'debug',
handleExceptions: true,
humanReadableUnhandledException: true,
colorize: true
}
/*,
file: {
level: 'info',
filename: './logs/all-logs.log',
handleExceptions: true,
json: true,
maxsize: 5242880, //5MB
maxFiles: 5,
colorize: true
}*/
}
};