Skip to content

Commit

Permalink
feat: add support for Accept-Encoding compression
Browse files Browse the repository at this point in the history
  • Loading branch information
simongoricar committed Feb 23, 2024
1 parent e16f16f commit a82dfd4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions kolomoni/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,7 @@ async fn main() -> Result<()> {
]);

let mut app = actix_web::App::new()
.wrap(actix_web::middleware::Compress::default())
.wrap(actix_web::middleware::NormalizePath::trim())
.wrap(cors)
.wrap(tracing_actix_web::TracingLogger::default())
Expand Down

0 comments on commit a82dfd4

Please sign in to comment.