ne compile pas encore

This commit is contained in:
Hubert
2021-07-03 08:22:23 +02:00
parent 8ffcf6c9e0
commit f8256e3f3a
4 changed files with 9258 additions and 3 deletions

View File

@@ -97,6 +97,9 @@ async fn git_main(web::Path((owner, reponame, commitname, rootname)): web::Path<
let user = User { name : "Hubert".to_string()};
GitMainTemplate { repo, browse : browse, root : path, user_opt : Some(user)}
}
#[derive(Template)]
#[template(path = "fontawesome.css")]
struct CSSFontAwsome{}
#[post("/echo")]
async fn echo(req_body: String) -> impl Responder {