Skip to content

Commit

Permalink
fix format code
Browse files Browse the repository at this point in the history
  • Loading branch information
robatipoor committed Mar 26, 2024
1 parent 9a1fd47 commit 8532cbe
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ The service provides a convenient and efficient way to share files. The code inc
* Command Line Interface
* ChaCha20-Poly1305 Encryption
* Built-in TLS Server
* Flexible Length URL


**Run API Service Locally**
Expand All @@ -46,7 +47,7 @@ $ docker run --name pf-api --rm -p 8080:8080 -d ghcr.io/robatipoor/pf-api:latest
# Alternatively, build your own Docker image.
$ docker build -t pf-api:latest -f api/Dockerfile .

# Run Docker container on address 0.0.0.0:8080
# Run Docker container on address localhost:8080
$ docker run --name pf-api --rm -p 8080:8080 -d pf-api:latest
```

Expand Down
2 changes: 1 addition & 1 deletion cli/src/command.rs
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ pub async fn upload(args: UploadArguments) {

pub async fn copy<R>(reader: R, args: CopyArguments)
where
R: AsyncRead + Send + Sync + Unpin + 'static ,
R: AsyncRead + Send + Sync + Unpin + 'static,
{
let client = CommandLineClient::new(args.server_addr);
let param = UploadQueryParam {
Expand Down

0 comments on commit 8532cbe

Please sign in to comment.