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

- Logout + Logout

{% 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};