forked from allan-simon/cppcms-skeleton
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.js
39 lines (38 loc) · 792 Bytes
/
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
{
"service" : {
"api" : "http",
"port" : 8080
},
"cache" : {
"backend" : "thread_shared"
},
"http" : {
"script_names" : ["/tatodetect"]
},
"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"
}
},
"tatodetect" : {
"web" : "http://127.0.0.1:4242/",
"interfacelangs" : [
["en" , "en_GB.UTF-8", "English"],
["fr" , "fr_FR.UTF-8", "Français"]
],
"sqlite3" : {
"path" : "../data/sqlite3.db"
}
}
}