user from basic auth

This commit is contained in:
Hubert
2021-07-21 06:05:54 +02:00
parent 234e2ccaa3
commit 381347e66a
3 changed files with 7 additions and 9 deletions

View File

@@ -183,7 +183,6 @@ async fn main() -> std::io::Result<()> {
)
.service(
webx::resource("/git/{user}/{repo}.git/{path:.*}")
// .wrap(auth)
.route(webx::route().to(gitproto::git_proto))
)
.service(