-
Notifications
You must be signed in to change notification settings - Fork 2
/
config.json
61 lines (55 loc) · 1.52 KB
/
config.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
{
"env": {
"title": "LibreOJ",
"uiVersion": null,
"cdnRoot": "https://static.cdn.menci.xyz/libreoj-frontend",
"apiEndpoint": "https://api.loj.ac",
"apiEndpointCN": "https://api.loj.ac",
"bootstrapCdnRoot": "bootstrap.loj.ac.cn",
"bootstrapCdnRootStaging": "bootstrap-staging.loj.ac.cn",
"assets": "https://static.cdn.menci.xyz/libreoj-assets",
"favicon": "${assets}/favicon.ico",
"appLogo": "${assets}/logo-website.min.svg",
"gravatar": "https://gravatar.com",
"gravatarCN": "https://cravatar.cn",
"ghAvatar": "https://github.com",
"ghAvatarCN": "https://cdn.menci.xyz/gh-avatar",
"cdnjs": "https://cdnjs.cloudflare.com/ajax/libs",
"cdnjsCN": "https://cdnjs.baoshuo.ren/ajax/libs"
},
"htmlTemplate": "https://cdn.jsdelivr.net/npm/@lyrio/ui@${uiVersion}/dist/index.html",
"substitution": {
"__api_endpoint__": {
"CN": "${apiEndpointCN}",
"": "${apiEndpoint}"
},
"__default_title__": "${title}",
"__public_path__": {
"": "${cdnRoot}"
},
"__favicon__": {
"": "${favicon}"
},
"__applogo__": {
"": "${appLogo}"
},
"__gravatar__": {
"CN": "${gravatarCN}",
"": "${gravatar}"
},
"__ghavatar__": {
"CN": "${ghAvatarCN}",
"": "${ghAvatar}"
},
"__cdnjs__": {
"CN": "${cdnjsCN}",
"": "${cdnjs}"
},
"__bootstrap_cdn_root__": {
"": "${bootstrapCdnRoot}"
},
"__bootstrap_cdn_root_staging__": {
"": "${bootstrapCdnRootStaging}"
}
}
}