Disable compression, see https://en.wikipedia.org/wiki/BREACH
This commit is contained in:
@@ -159,7 +159,6 @@ async fn run_server() -> io::Result<()> {
|
||||
tracing::info_span!("http_request", %path)
|
||||
}),
|
||||
)
|
||||
.compression()
|
||||
.layer(axum::middleware::from_fn(unrecognized_method))
|
||||
.layer(
|
||||
CorsLayer::new()
|
||||
|
||||
Reference in New Issue
Block a user