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::Arbiter; | ||||||
| use actix_web::{ | use actix_web::{middleware::Logger, web, App, HttpServer}; | ||||||
|     middleware::{Compress, Logger}, |  | ||||||
|     web, App, HttpServer, |  | ||||||
| }; |  | ||||||
| 
 | 
 | ||||||
| mod apub; | mod apub; | ||||||
| mod args; | mod args; | ||||||
|  | @ -120,7 +117,6 @@ async fn main() -> Result<(), anyhow::Error> { | ||||||
| 
 | 
 | ||||||
|         App::new() |         App::new() | ||||||
|             .wrap(Logger::default()) |             .wrap(Logger::default()) | ||||||
|             .wrap(Compress::default()) |  | ||||||
|             .data(db.clone()) |             .data(db.clone()) | ||||||
|             .data(state.clone()) |             .data(state.clone()) | ||||||
|             .data(state.requests()) |             .data(state.requests()) | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		
		Reference in a new issue