Skip to content

Commit

Permalink
fix(shuttle): fix Shuttle entrypoint
Browse files Browse the repository at this point in the history
  • Loading branch information
orhun committed Dec 5, 2023
1 parent 0f377fc commit d4b02ec
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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),
);
};
Expand Down

0 comments on commit d4b02ec

Please sign in to comment.