diff options
author | Timo Kösters <timo@koesters.xyz> | 2023-06-25 23:43:19 +0200 |
---|---|---|
committer | Timo Kösters <timo@koesters.xyz> | 2023-06-25 23:43:54 +0200 |
commit | 15cc801840465ec5bfd309deecd09b484dd27734 (patch) | |
tree | 6d56e39df7403a482f4345720aad3d533dffb647 /src/main.rs | |
parent | 5f9ca8e458982598d26e5d64442f46ac44662f27 (diff) | |
download | conduit-15cc801840465ec5bfd309deecd09b484dd27734.zip |
Disable compression, see https://en.wikipedia.org/wiki/BREACH
Diffstat (limited to 'src/main.rs')
-rw-r--r-- | src/main.rs | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/main.rs b/src/main.rs index edb7640..20fab91 100644 --- a/src/main.rs +++ b/src/main.rs @@ -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() |