more refactor on backend

This commit is contained in:
wt committed 2025-11-28 01:38:59 +07:00
1 parent 941afa2485
commit 7f7936d37f
20 files changed
+1603 -1527

No files matched your search

+19 -19
View File
@@ -1,20 +1,20 @@
{
"server": {
"host": "0.0.0.0",
"port": 3333,
"max_connections": 10000
},
"database": {
"url": "sqlite:chat.db"
},
"files": {
"avatars_dir": "web/avatars",
"web_dir": "web",
"max_avatar_size": 5242880
},
"limits": {
"max_message_length": 4096,
"max_username_length": 50,
"min_password_length": 6
}
}
"server": {
"host": "0.0.0.0",
"port": 3333,
"max_connections": 10000
},
"database": {
"url": "chat.db"
},
"files": {
"avatars_dir": "web/avatars",
"web_dir": "web",
"max_avatar_size": 5242880
},
"limits": {
"max_message_length": 4096,
"max_username_length": 50,
"min_password_length": 6
}
}