2024-11-13 13:21:08 +08:00
|
|
|
{
|
|
|
|
"password_key":"!@#$%^&*(*&^%$QWERTYUIqwertyui234567",
|
2024-11-13 13:25:23 +08:00
|
|
|
"modelname":"usefulsensors/moonshine-tiny",
|
2024-11-13 13:21:08 +08:00
|
|
|
"logger":{
|
2024-11-13 13:25:23 +08:00
|
|
|
"name":"moonshine",
|
2024-11-13 13:21:08 +08:00
|
|
|
"levelname":"info",
|
|
|
|
"logfile":"$[workdir]$/logs/sage.log"
|
|
|
|
},
|
|
|
|
"filesroot":"$[workdir]$/files",
|
|
|
|
"website":{
|
|
|
|
"paths":[
|
|
|
|
["$[workdir]$/wwwroot",""]
|
|
|
|
],
|
|
|
|
"client_max_size":10000,
|
|
|
|
"host":"0.0.0.0",
|
2024-11-13 13:25:23 +08:00
|
|
|
"port":10091,
|
2024-11-13 13:21:08 +08:00
|
|
|
"coding":"utf-8",
|
|
|
|
"indexes":[
|
|
|
|
"index.dspy",
|
|
|
|
"index.md"
|
|
|
|
],
|
|
|
|
"startswiths":[
|
|
|
|
{
|
|
|
|
"leading":"/idfile",
|
|
|
|
"registerfunction":"idFileDownload"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"processors":[
|
|
|
|
[".dspy","dspy"],
|
|
|
|
[".md","md"]
|
|
|
|
],
|
|
|
|
"session_max_time":3000,
|
|
|
|
"session_issue_time":2500,
|
|
|
|
"session_redis_notuse":{
|
|
|
|
"url":"redis://127.0.0.1:6379"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"langMapping":{
|
|
|
|
"zh-Hans-CN":"zh-cn",
|
|
|
|
"zh-CN":"zh-cn",
|
|
|
|
"en-us":"en",
|
|
|
|
"en-US":"en"
|
|
|
|
}
|
|
|
|
}
|