-
Notifications
You must be signed in to change notification settings - Fork 0
/
conf.js
75 lines (72 loc) · 1.63 KB
/
conf.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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
const mode = "production";
const exerciseServer = "https://gentle-fjord-22671.herokuapp.com";
const testServer = "http://localhost:8000";
const SERVER = mode === "test"? testServer : exerciseServer;
const POST_URL = 'window';
const EXERCISES = [
{
title: "Insertion Sort",
server: SERVER,
path: "/exercises/insertionSort.html",
submission_url: "",
post_url: POST_URL,
max_points: 20,
uid: "testuser",
ordinal_number: 1,
},
{
title: "Insertion Sort without Swap",
server: SERVER,
path: "/exercises/insertionSortWithoutSwap.html",
submission_url: "",
post_url: POST_URL,
max_points: 20,
uid: "testuser",
ordinal_number: 2,
},
{
title: "Heap Build",
server: SERVER,
path: "/exercises/heapbuildPRO.html",
submission_url: "",
post_url: POST_URL,
max_points: 20,
uid: "testuser",
ordinal_number: 3,
},
{
title: "Dijkstra's algorithm",
server: SERVER,
path: "/exercises/DijkstraPE.html",
submission_url: "",
post_url: POST_URL,
max_points: 20,
uid: "testuser",
ordinal_number: 34
},
{
title: "Evaluating Postfix Expression",
server: SERVER,
path: "/exercises/postfixEvaluationPRO.html",
submission_url: "",
post_url: POST_URL,
max_points: 20,
uid: "testuser",
ordinal_number: 35
},
{
title: "Binary Search Tree - Search",
server: SERVER,
path: "/exercises/BSTinsertPRO-ODSA.html",
submission_url: "",
post_url: POST_URL,
max_points: 20,
uid: "testuser",
ordinal_number: 36
}
]
module.exports = {
server: SERVER,
post_url: POST_URL,
exercises: EXERCISES
}