-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsettings.json
80 lines (80 loc) · 1.8 KB
/
settings.json
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
76
77
78
79
80
{
"cors": false,
"jwt": {
"key": "0123456789001234567890"
},
"oauth": {
"clientId": "9876543210",
"secret": "98765432109876543210",
"dialogUrl": "http://localhost:9090/oauth/authorize",
"accessTokenUrl": "http://localhost:9090/oauth/token",
"authorizeUrl": "http://localhost:9090/oauth/authorize",
"identityUrl": "http://localhost:9090/oauth/ident",
"redirectUrl": "http://localhost:3030/_oauth/lea"
},
"hashing": {
"algorithm": "sha256",
"digest": "hex"
},
"hosts": {
"otulea": {
"url": "http://localhost:3000",
"sub": "otulea-01234567890"
},
"backend": {
"url": "http://localhost:5050",
"urlRegEx": {
"regex": "^http:\/\/.*$"
}
},
"teacher": {
"url": "http://localhost:5555",
"secret":"thisisalongsecretpassphrase01234567890",
"expires": 3600000,
"sub": "teacher-app-01234567890"
},
"appbackend": {
"url": "http://localhost:8080",
"sub": "app-backend-01234567890"
}
},
"files": {
"bucketName": "contentFiles",
"maxSize": 10240000
},
"tts": {
"maxChars": 15000,
"allowedOrigins": [
".*localhost.*"
]
},
"competencies": {
"url": "/competencies"
},
"patches": {
"clozeScoringSchema": false,
"recomputeProgress": false,
"linkAlphaLevel": false
},
"status": {
"active": false,
"interval": 5000,
"secret": "lea.online.secret",
"url": "http://localhost:7070/collect"
},
"email": {
"appName": "leaonline.content",
"notify": ["admin@example.com"],
"from": "system@example.com",
"replyTo": "no-reply@example.com"
},
"rateLimit": {
"methods": {
"get": [1, 250],
"all": [1, 1000],
"insert": [1, 1000],
"update": [1, 1000],
"remove": [1, 1000]
}
}
}