diff --git a/src/main.rs b/src/main.rs index 4d97985..5ae91f2 100644 --- a/src/main.rs +++ b/src/main.rs @@ -45,6 +45,7 @@ async fn rocket() -> _ { routes![get_challenge, login, post_login, success, logout, testing], ) .mount("/css", FileServer::from(relative!("styles/css"))) + .mount("/", FileServer::from(relative!("static")).rank(1)) .attach(Template::custom(move |engines| { use tera::Value; let (catalogs, langs) = load_catalogs().unwrap(); diff --git a/templates/index.html.tera b/templates/index.html.tera index ce54f00..c7925aa 100644 --- a/templates/index.html.tera +++ b/templates/index.html.tera @@ -5,6 +5,7 @@ +