diff --git a/README.md b/README.md index d04aeaa..32fee42 100644 --- a/README.md +++ b/README.md @@ -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 \ No newline at end of file +- [ ] optionally push to an IPFS node for actual p2p sharing +- [ ] directory support, eg: ipfs://CID/images/cat.png, ipfs://QmeSjSinHpPnmXmspMjwiXyN6zS4E9zccariGR3jxcaWtq/0 diff --git a/main.go b/main.go index 50be4b1..6619b92 100644 --- a/main.go +++ b/main.go @@ -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{}