This commit is contained in:
Timo Kösters
2023-06-25 23:43:19 +02:00
parent 5f9ca8e458
commit 15cc801840
3 changed files with 1 additions and 38 deletions

View File

@@ -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()