feat: some refactoring
This commit is contained in:
16
configs/server.toml
Normal file
16
configs/server.toml
Normal file
@@ -0,0 +1,16 @@
|
||||
# Server configuration
|
||||
[server]
|
||||
address = ":8080"
|
||||
read_timeout = "10s"
|
||||
write_timeout = "10s"
|
||||
idle_timeout = "60s"
|
||||
|
||||
# Logging configuration
|
||||
[logging]
|
||||
level = "info"
|
||||
format = "json"
|
||||
output = "stdout"
|
||||
|
||||
# Request configuration
|
||||
[request]
|
||||
max_body_size = 10485760 # 10MB
|
||||
Reference in New Issue
Block a user