-
Notifications
You must be signed in to change notification settings - Fork 10
/
default-config.js
50 lines (50 loc) · 1.12 KB
/
default-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
module.exports = {
store: {
options: {}
},
queue: {
idleDelayMs: 1000, // forced delay between queue checks when queue is empty
enabled: true,
options: {}
},
http: {
bindings: {
http: {
port: 8994
}
},
// authRedirect: 'https://some/other/place',
auth: {
/*
basicAuthForMyGroup: {
type: 'basic',
groups: 'myGroup', // or [] for more than one, or '*' for any
options: {
user: 'user',
pass: 'see secure/{env}'
}
},
customAuthForMyGroup: {
type: 'custom',
groups: 'myGroup',
customPath: './lib/my-auth-handler.js',
options: {
some: 'option'
}
}
*/
},
routes: {
// '/somePath': './routes/somePath.js'
// OR
// /somePath': { method: 'POST', path: './routes/post-somePath.js' }
},
staticFiles: {
// '/somePath': {
// root: './path-to-static-folder',
// ... other options: https://expressjs.com/en/4x/api.html#express.static
// }
}
},
lighthouse: require('../lighthouse/defaults')
};