fix(main): fix request size limit to max_request_size (axum defaults 2MB)

This commit is contained in:
AndSDev committed 2022-10-25 12:53:58 +03:00
1 parent cb2b5beea8
commit 10d2da3009
3 files changed
+13 -7

No files matched your search

+1 -1
View File
@@ -14,7 +14,7 @@ edition = "2021"
[dependencies]
# Web framework
axum = { version = "0.5.8", default-features = false, features = ["form", "headers", "http1", "http2", "json", "matched-path"], optional = true }
axum = { version = "0.5.17", default-features = false, features = ["form", "headers", "http1", "http2", "json", "matched-path"], optional = true }
axum-server = { version = "0.4.0", features = ["tls-rustls"] }
tower = { version = "0.4.8", features = ["util"] }
tower-http = { version = "0.3.4", features = ["add-extension", "cors", "compression-full", "sensitive-headers", "trace", "util"] }