Skip to content

Commit 3fad990

Browse files
committed
feat: remove JSON payload limit
1 parent 40ef190 commit 3fad990

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ async fn main() -> std::io::Result<()> {
1212
App::new()
1313
// enable logger
1414
.wrap(middleware::Logger::default())
15-
.data(web::JsonConfig::default().limit(4096)) // <- limit size of the payload (global configuration)
15+
.data(web::JsonConfig::default()) // <- limit size of the payload (global configuration)
1616
.service(routes::health::health)
1717
.service(routes::cmd::run_cmd)
1818
.service(routes::c::run_c)

0 commit comments

Comments
 (0)