-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathconfig.js
40 lines (36 loc) · 1.25 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
module.exports = {
// Sharing options
// determines if sharing is enabled on this server
serveSharing : true,
// the path the shared files are placed into
sharePath : "code/shares/",
// the path the shared wishes are placed into
wisharePath : "code/wishares/",
// limit settings for sharing
shareLimits : {
// time window, in which IPs are being tracked in ms
windowMs: 60*1000,
// the amount of allowed requests per time window
max: 12,
// minimum timeout between requests
delayMs: 0
},
// Code example options
// determines if any examples are served from this server
serveExamples : true,
// the path the provided examples are placed into
examplePath : "code/examples/",
// Code example options
// determines if any wishes are served from this server
serveWishExamples : true,
// the path the provided wishes are placed into
wishPath : "code/wishes/",
// Frontend options
// determines if the frontend is being served from this server
serveFrontend : true,
// the path the frontend is served from
frontendPath : "SOSML-frontend/frontend/build",
// General options
// the port the server is listening to
port : 8095
}