Remove compress middleware
This commit is contained in:
+1
-5
@@ -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())
|
||||
|
||||
Reference in New Issue
Block a user