disable federation at the router level too
Signed-off-by: strawberry <strawberry@puppygock.gay>
This commit is contained in:
parent
0d21d70d4a
commit
8eda3be9ce
3 changed files with 43 additions and 44 deletions
|
@ -308,7 +308,7 @@ async fn build(server: &Server) -> io::Result<axum::routing::IntoMakeService<Rou
|
|||
|
||||
#[cfg(any(feature = "zstd_compression", feature = "gzip_compression", feature = "brotli_compression"))]
|
||||
{
|
||||
Ok(routes::routes()
|
||||
Ok(routes::routes(&server.config)
|
||||
.layer(compression_layer(server))
|
||||
.layer(middlewares)
|
||||
.into_make_service())
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue