From f7e861bc44b8297ce7d48a520fecf38de50988a1 Mon Sep 17 00:00:00 2001 From: jabuxas Date: Mon, 10 Feb 2025 23:48:13 -0300 Subject: [PATCH] fix: adjust path variables in html --- src/main.rs | 4 +--- static/index.html | 26 ++++++++++++++++++++------ 2 files changed, 21 insertions(+), 9 deletions(-) diff --git a/src/main.rs b/src/main.rs index 4b1a3a2..9771af8 100644 --- a/src/main.rs +++ b/src/main.rs @@ -31,7 +31,5 @@ fn dist(file: PathBuf) -> Option<(ContentType, Cow<'static, [u8]>)> { #[launch] fn rocket() -> _ { - rocket::build() - // .mount("/", FileServer::from("static")) - .mount("/", routes![index, dist]) + rocket::build().mount("/", routes![index, dist]) } diff --git a/static/index.html b/static/index.html index bc4dc05..848a443 100644 --- a/static/index.html +++ b/static/index.html @@ -5,11 +5,25 @@ jabuxas' hub - - - - - + + + + + @@ -17,7 +31,7 @@
- jabuxas' icon + jabuxas' icon

jabuxas