diff --git a/src/main.rs b/src/main.rs index ae6e74b..f2d38d2 100644 --- a/src/main.rs +++ b/src/main.rs @@ -204,7 +204,7 @@ fn hoc_request( state: web::Data>, data: web::Path<(String, String)>, ) -> Result { - let repo = format!("{}/{}", data.0, data.1); + let repo = format!("{}/{}", data.0.to_lowercase(), data.1.to_lowercase()); let service_path = format!("{}/{}", T::domain(), repo); let path = format!("{}/{}", state.repos, service_path); let file = Path::new(&path);