Skip to content

Commit

Permalink
docs: readme
Browse files Browse the repository at this point in the history
  • Loading branch information
alexfreska committed Oct 6, 2023
1 parent 1d6d6ae commit 43ad7c2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,5 @@ https://ipfs.io/ipfs/QmRRPWG96cmgTn2qSzjwr2qvfNEuhunv6FNeMFGa9bx6mQ
## todo
- [ ] store concatenated IPFS blocks instead of raw file
- [ ] add a database mapping IPFS block hashes to offsets
- [ ] optionally push to an IPFS node for actual p2p sharing
- [ ] optionally push to an IPFS node for actual p2p sharing
- [ ] directory support, eg: ipfs://CID/images/cat.png, ipfs://QmeSjSinHpPnmXmspMjwiXyN6zS4E9zccariGR3jxcaWtq/0
1 change: 0 additions & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,6 @@ func saveFileToRenterd(data []byte, cid string, cfg *Config) error {
}

authValue := "Basic " + base64.StdEncoding.EncodeToString([]byte(":"+cfg.RenterdPassword))
fmt.Println(authValue)
req.Header.Set("Authorization", authValue)

client := &http.Client{}
Expand Down

0 comments on commit 43ad7c2

Please sign in to comment.