Disable compression, see https://en.wikipedia.org/wiki/BREACH
This commit is contained in:
parent
5f9ca8e458
commit
15cc801840
3 changed files with 1 additions and 38 deletions
|
@ -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()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue