-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathconfig.js
49 lines (49 loc) · 1.15 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
{
"service" : {
"api" : "http",
"port" : 4244
},
"http" : {
"script_names" : ["/shanghainesedict"]
},
"localization" : {
"encoding" : "utf-8",
"messages" : {
"paths" : [ "../locale" ],
"domains" : [ "hello" ]
},
"locales" : [ "en_GB.UTF-8", "fr_FR.UTF-8" ]
},
"session" : {
"expire" : "renew",
"timeout" : 604800,
"location" : "server",
"server" : {
"storage" : "memory"
}
},
"shanghainesedict" : {
"dictxml2" : "../doc/shdict.xml",
"dictxml" : "../doc/cfdict.xml",
"css" : "/css",
"img" : "/img",
"web" : "http://127.0.0.1:4244/",
"interfacelangs" : {
"fra" : "en_GB.UTF-8",
"eng" : "fr_FR.UTF-8"
},
"languages" : {
"wuu" : ["Shanghainese", 61],
"eng" : ["English", 17],
"fra" : ["French", 23],
"deu" : ["German", 15],
"cmn" : ["Chinese", 12],
"yue" : ["Cantonese", 63],
"jpn" : ["Japanese", 32]
},
"indexedMetas" : {
"jpn" : [ "reading" ],
"cmn" : [ "pinyin" , "traditional"]
}
}
}