From 43ad7c2a055f3ff7b70f2ed020cddd7ebe428f73 Mon Sep 17 00:00:00 2001 From: Alex Freska Date: Fri, 6 Oct 2023 10:00:32 -0400 Subject: [PATCH] docs: readme --- README.md | 3 ++- main.go | 1 - 2 files changed, 2 insertions(+), 2 deletions(-) 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{}