84 lines
1.5 KiB
JSON
84 lines
1.5 KiB
JSON
|
{
|
||
|
"debug":true,
|
||
|
"databases":{
|
||
|
"aiocfae":{
|
||
|
"driver":"aiomysql",
|
||
|
"async_mode":true,
|
||
|
"coding":"utf8",
|
||
|
"dbname":"cfae",
|
||
|
"kwargs":{
|
||
|
"user":"test",
|
||
|
"db":"cfae",
|
||
|
"password":"test123",
|
||
|
"host":"localhost"
|
||
|
}
|
||
|
},
|
||
|
"cfae":{
|
||
|
"driver":"mysql.connector",
|
||
|
"coding":"utf8",
|
||
|
"dbname":"cfae",
|
||
|
"kwargs":{
|
||
|
"user":"test",
|
||
|
"db":"cfae",
|
||
|
"password":"test123",
|
||
|
"host":"localhost"
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"filesroot":"$[workdir]$/files",
|
||
|
"website":{
|
||
|
"paths":[
|
||
|
["$[workdir]$/../usedpkgs/antd","/antd"],
|
||
|
["$[workdir]$/../wolon",""]
|
||
|
],
|
||
|
"host":"0.0.0.0",
|
||
|
"port":8080,
|
||
|
"coding":"utf-8",
|
||
|
"ssl_gg":{
|
||
|
"crtfile":"$[workdir]$/conf/www.bsppo.com.pem",
|
||
|
"keyfile":"$[workdir]$/conf/www.bsppo.com.key"
|
||
|
},
|
||
|
"indexes":[
|
||
|
"index.html",
|
||
|
"index.tmpl",
|
||
|
"index.dspy",
|
||
|
"index.md"
|
||
|
],
|
||
|
"dbrest":"/dbs",
|
||
|
"download":"/download",
|
||
|
"visualcoding":{
|
||
|
"default_root":"/samples/vc/test",
|
||
|
"userroot":{
|
||
|
"ymq":"/samples/vc/ymq",
|
||
|
"root":"/samples/vc/root"
|
||
|
},
|
||
|
"jrjpath":"/samples/vc/default"
|
||
|
},
|
||
|
"processors":[
|
||
|
[".xlsxds","xlsxds"],
|
||
|
[".sqlds","sqlds"],
|
||
|
[".tmpl.js","tmpl"],
|
||
|
[".tmpl.css","tmpl"],
|
||
|
[".html.tmpl","tmpl"],
|
||
|
[".tmpl","tmpl"],
|
||
|
[".dspy","dspy"],
|
||
|
[".md","md"]
|
||
|
],
|
||
|
"startswith":{
|
||
|
"/thumb":{
|
||
|
"registerfunction":"makeThumb",
|
||
|
"options":{
|
||
|
"width":256,
|
||
|
"keep_ratio":1
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"langMapping":{
|
||
|
"zh-Hans-CN":"zh-cn",
|
||
|
"zh-CN":"zh-cn",
|
||
|
"en-us":"en",
|
||
|
"en-US":"en"
|
||
|
}
|
||
|
}
|