-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathconfig.js
59 lines (53 loc) · 1.32 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
module.exports = {
domjudge: {
/**
* DOMjudge api base URL
* Do not add '/' at the end of line!
*/
api: 'http://localhost/api',
/**
* DOMjudge uesr information
* Required role: jury
*/
username: 'username',
password: 'password',
},
filter: {
/**
* In DOMjudge v7, 'cid' means 'CID' in the admin panel which is unique integer and assigned to each contest.
* You have to set 'data_source' option value to 0, which is in the configuration section at admin panel.
*/
cid: 1,
/**
* DOMjudge team category's sortorder to be viewed.
* For participiants, its default value is 0.
*/
sortorder: 0,
},
/**
* Destination path which files will be created.
*
* e.g. '.'
* e.g. '/var/www/html/spotboard/'
*/
dest: '.',
/**
* Force unfreezing scoreboard client side.
* This might be useful when collecting final runs.json privately.
*/
unfreeze: false,
/**
* Running interval in milliseconds.
* null for running only once.
*
* e.g. null
* e.g. 3000
*/
interval: 3000,
axios: {
/**
* API request timeout
*/
timeout: 3000,
},
};