implement server logic

This commit is contained in:
2025-05-02 14:10:44 +02:00
parent e90dfa0b0b
commit 22ff485190
9 changed files with 117 additions and 8 deletions

12
config/prod.toml Normal file
View File

@@ -0,0 +1,12 @@
[server]
bind_to = "[::1]:8080"
max_question_body_size = 2048
[performance]
memory_limit = 536870912
[maintenance]
interval = 60
[push]
endpoint = "http://[::1]:9091/api.php?cmd=newmodmessages"