chore: opt settings code

This commit is contained in:
engigu
2025-12-21 10:23:25 +08:00
parent 432c57e862
commit c06030fe27
28 changed files with 535 additions and 187 deletions
+16
View File
@@ -0,0 +1,16 @@
[server]
port = 8052
host = 0.0.0.0
[database]
type = sqlite
host = localhost
port = 3306
user = root
password =
dbname = ql_panel
table_prefix = baihu_
[task]
default_timeout = 3600
log_retention_days = 30
-23
View File
@@ -1,23 +0,0 @@
{
"server": {
"port": 8052,
"host": "0.0.0.0"
},
"database": {
"type": "sqlite",
"host": "localhost",
"port": 3306,
"user": "root",
"password": "",
"dbname": "ql_panel",
"path": "./data/ql.db",
"table_prefix": "baihu_"
},
"security": {
"password_salt": "ql_panel_salt"
},
"task": {
"default_timeout": 3600,
"log_retention_days": 30
}
}