Pour tout problème contactez-nous par mail : support@froggit.fr | La FAQ :grey_question: | Rejoignez-nous sur le Chat :speech_balloon:

Skip to content
Snippets Groups Projects
Commit e872af79 authored by Pierre Jarriges's avatar Pierre Jarriges
Browse files

add compress middleware

parent 09b26f0e
No related branches found
No related tags found
No related merge requests found
......@@ -48,6 +48,7 @@ async fn main() -> std::io::Result<()> {
format!(":{}", server_port),
format!(":{}", server_port_tls),
)]))
.wrap(actix_web::middleware::Compress::default())
.app_data(Data::new(app_state.clone()))
.app_data(Data::new(AuthenticatedAdminMiddleware::new(
"kuadrado-admin-auth",
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment