mirror of
https://forge.pointfixe.fr/hubert/gitust.git
synced 2026-02-04 20:17:28 +01:00
prepare generalisation git_main
This commit is contained in:
@@ -55,7 +55,7 @@ pub struct GitWebQ {
|
||||
branch: Option<String>,
|
||||
}
|
||||
|
||||
#[get("/git/{owner}/{repo}.git")]
|
||||
//#[get("/git/{owner}/{repo}.git")]
|
||||
pub async fn git_main(
|
||||
web::Path((ownername, reponame)): web::Path<(String, String)>,
|
||||
web::Query(GitWebQ{commit : commitnameopt, path : pathopt, branch : branchopt}) : web::Query<GitWebQ>,
|
||||
|
||||
Reference in New Issue
Block a user