This commit is contained in:
Timo Kösters 2023-06-25 23:43:19 +02:00
parent 5f9ca8e458
commit 15cc801840
No known key found for this signature in database
GPG key ID: 0B25E636FBA7E4CB
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()