We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 462f13f commit e673fd0Copy full SHA for e673fd0
1 file changed
relay-server/src/endpoints/minidump.rs
@@ -1,5 +1,5 @@
1
use axum::RequestExt;
2
-use axum::extract::Request;
+use axum::extract::{DefaultBodyLimit, Request};
3
use axum::response::IntoResponse;
4
use axum::routing::{MethodRouter, post};
5
use bytes::Bytes;
@@ -283,6 +283,7 @@ async fn handle(
283
284
pub fn route(config: &Config) -> MethodRouter<ServiceState> {
285
post(handle)
286
+ .route_layer(DefaultBodyLimit::disable())
287
.route_layer(RequestBodyLimitLayer::new(config.max_attachments_size()))
288
.route_layer(axum::middleware::from_fn(middlewares::content_length))
289
}
0 commit comments