From 7aa817ee05efaa95fbace8f82bbdb92b81696ae3 Mon Sep 17 00:00:00 2001 From: Fabrice Bellamy <12b@distrilab.fr> Date: Thu, 24 Oct 2024 00:54:45 +0200 Subject: [PATCH] fix logout redirect and cleanup unsused imports --- nixin_farm_ssr/assets/views/home/index.html | 2 +- nixin_farm_ssr/src/controllers/home.rs | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/nixin_farm_ssr/assets/views/home/index.html b/nixin_farm_ssr/assets/views/home/index.html index 878a733..9c86c70 100644 --- a/nixin_farm_ssr/assets/views/home/index.html +++ b/nixin_farm_ssr/assets/views/home/index.html @@ -15,7 +15,7 @@ Index
{% endblock content %} \ No newline at end of file diff --git a/nixin_farm_ssr/src/controllers/home.rs b/nixin_farm_ssr/src/controllers/home.rs index 4c831e4..31bb466 100644 --- a/nixin_farm_ssr/src/controllers/home.rs +++ b/nixin_farm_ssr/src/controllers/home.rs @@ -7,9 +7,9 @@ use axum::{ debug_handler, extract::State, //extract::Query, - response::{/*IntoResponse,*/ Redirect}, + //response::{IntoResponse, Redirect}, //Json, - http::{StatusCode, header::{self, HeaderValue, HeaderMap}}, + http::{StatusCode, header::HeaderMap}, Form}; use axum_extra::extract::cookie::{CookieJar, Cookie, SameSite};