We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 40ef190 commit 3fad990Copy full SHA for 3fad990
src/main.rs
@@ -12,7 +12,7 @@ async fn main() -> std::io::Result<()> {
12
App::new()
13
// enable logger
14
.wrap(middleware::Logger::default())
15
- .data(web::JsonConfig::default().limit(4096)) // <- limit size of the payload (global configuration)
+ .data(web::JsonConfig::default()) // <- limit size of the payload (global configuration)
16
.service(routes::health::health)
17
.service(routes::cmd::run_cmd)
18
.service(routes::c::run_c)
0 commit comments