mirror of
https://forgejo.ellis.link/continuwuation/continuwuity.git
synced 2026-11-14 04:37:00 +00:00
Disable compression, see https://en.wikipedia.org/wiki/BREACH
This commit is contained in:
3 files changed
+1
-38
No files matched your search
@@ -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