scense/conf/config.json

85 lines
1.4 KiB
JSON

{
"app": {
"name": "scense",
"port": 9380,
"title": "唤景平台世界模式"
},
"password_key": "",
"logger": {
"name": "scense",
"level": "INFO",
"file": "$[workdir]$/logs/scense.log"
},
"filesroot": "$[workdir]$/files",
"databases": {
"scense": {
"driver": "mysql",
"kwargs": {
"host": "",
"port": "",
"user": "",
"password": "",
"charset": "utf8mb4",
"db": "scense"
}
}
},
"website": {
"port": 9380,
"root": "$[workdir]$/wwwroot",
"processors": [
[
".tmpl",
"tmpl"
],
[
".ui",
"bui"
],
[
".dspy",
"dspy"
],
[
".wss",
"ws"
]
],
"indexes": [
"index.ui",
"index.html"
],
"session_max_time": 28800,
"session_issue_time": 7200,
"paths": [
[
"$[workdir]$/wwwroot",
""
]
],
"startswiths": [
{
"leading": "/i18n_getmsgs",
"registerfunction": "i18n"
}
]
},
"modules": [
"apppublic",
"sqlor",
"ahserver",
"appbase",
"rbac",
"world",
"scene",
"entity",
"script_engine",
"world_snapshot",
"world_sync",
"scense_demo",
"scense_game",
"scense_drag",
"scense_runtime"
],
"wwwroot": "wwwroot"
}