diff --git a/src/main.rs b/src/main.rs index 773c8a7..a9f4d87 100644 --- a/src/main.rs +++ b/src/main.rs @@ -164,6 +164,7 @@ async fn main() -> Result<(), Box> { // Start HTTPS server let server = HttpServer::new(move || { App::new() + .wrap(actix_web::middleware::Compress::default()) .service(routes::index) .service(routes::token_data) .service(routes::token_data_saver)