diff options
Diffstat (limited to 'server/src/ui/mod.rs')
| -rw-r--r-- | server/src/ui/mod.rs | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/server/src/ui/mod.rs b/server/src/ui/mod.rs index 946401e..92b93fe 100644 --- a/server/src/ui/mod.rs +++ b/server/src/ui/mod.rs @@ -3,23 +3,17 @@ which is licensed under the GNU Affero General Public License (version 3); see /COPYING. Copyright (C) 2026 metamuffin <metamuffin.org> */ -use crate::{ - request_info::{language::AcceptLanguage, A}, - CONF, -}; use error::MyResult; use home::rocket_uri_macro_r_home; -use jellylogic::session::Session; -use jellyui::{render_page, scaffold::RenderInfo, CustomPage}; use rocket::{ + Either, futures::FutureExt, get, - response::{content::RawHtml, Redirect}, - Either, + response::{Redirect, content::RawHtml}, }; use std::{future::Future, pin::Pin}; use tokio::{ - fs::{read_to_string, File}, + fs::{File, read_to_string}, io::AsyncRead, }; |