fix(shuttle): fix Shuttle entrypoint

This commit is contained in:
Orhun Parmaksız 2023-12-05 15:22:10 +03:00
parent 0f377fc44c
commit d4b02eca91
No known key found for this signature in database
GPG Key ID: F83424824B3E4B90
1 changed files with 1 additions and 3 deletions

View File

@ -215,9 +215,7 @@ async fn actix_web() -> ShuttleActixWeb<impl FnOnce(&mut ServiceConfig) + Send +
.wrap(Logger::new(
"%{r}a \"%r\" %s %b \"%{Referer}i\" \"%{User-Agent}i\" %T",
))
.wrap(ContentLengthLimiter::new(
server_config.max_content_length.get_bytes(),
))
.wrap(ContentLengthLimiter::new(server_config.max_content_length))
.configure(server::configure_routes),
);
};