forked from mirrors/relay
Remove compress middleware
This commit is contained in:
parent
7c8fbdd965
commit
c5bc9b76d8
1 changed files with 1 additions and 5 deletions
|
@ -1,8 +1,5 @@
|
|||
use actix::Arbiter;
|
||||
use actix_web::{
|
||||
middleware::{Compress, Logger},
|
||||
web, App, HttpServer,
|
||||
};
|
||||
use actix_web::{middleware::Logger, web, App, HttpServer};
|
||||
|
||||
mod apub;
|
||||
mod args;
|
||||
|
@ -120,7 +117,6 @@ async fn main() -> Result<(), anyhow::Error> {
|
|||
|
||||
App::new()
|
||||
.wrap(Logger::default())
|
||||
.wrap(Compress::default())
|
||||
.data(db.clone())
|
||||
.data(state.clone())
|
||||
.data(state.requests())
|
||||
|
|
Loading…
Reference in a new issue