Skip to content

Commit

Permalink
bak
Browse files Browse the repository at this point in the history
  • Loading branch information
timzaak committed Jun 26, 2024
1 parent cbca5b2 commit 2eaf7a2
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
5 changes: 4 additions & 1 deletion client/src/upload_files.rs
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,10 @@ pub async fn upload_files(
return Err(anyhow!("{:?} is not a directory", path));
}

let prefix_path = path.to_str().ok_or_else(||anyhow!("upload path can not parse"))?.to_string();
let prefix_path = path
.to_str()
.ok_or_else(|| anyhow!("upload path can not parse"))?
.to_string();
let version = get_upload_version(&api, &domain, version).await?;
println!("begin to fetch server file metadata with md5, you may need to wait if there are large number of files.");
let server_metadata = api.get_file_metadata(&domain, version).await?;
Expand Down
3 changes: 2 additions & 1 deletion docs/develop/roadmap.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,5 @@
### Version 2.x

- bench: add benchmark
- admin server support HTTPS
- admin server support HTTPS
- support domain redirect, like www.github.com redirect to github.com

0 comments on commit 2eaf7a2

Please sign in to comment.