mirror of
https://github.com/deps-rs/deps.rs.git
synced 2024-11-22 18:36:30 +00:00
parent
9f384abdac
commit
ab3f69fe6e
1 changed files with 1 additions and 1 deletions
|
@ -16,7 +16,7 @@ pub fn retrieve_file_at_path<S>(service: S, repo_path: &RepoPath, path: &Relativ
|
||||||
where S: Service<Request=Request, Response=Response, Error=HyperError>
|
where S: Service<Request=Request, Response=Response, Error=HyperError>
|
||||||
{
|
{
|
||||||
let path_str: &str = path.as_ref();
|
let path_str: &str = path.as_ref();
|
||||||
let uri_future = format!("{}/{}/{}/master/{}",
|
let uri_future = format!("{}/{}/{}/HEAD/{}",
|
||||||
GITHUB_USER_CONTENT_BASE_URI,
|
GITHUB_USER_CONTENT_BASE_URI,
|
||||||
repo_path.qual.as_ref(),
|
repo_path.qual.as_ref(),
|
||||||
repo_path.name.as_ref(),
|
repo_path.name.as_ref(),
|
||||||
|
|
Loading…
Reference in a new issue