Stop wrapping

This commit is contained in:
Alexandre Bruyant 2024-01-08 08:01:04 +01:00
parent 3f708b16d9
commit 0a6b3ea264

View File

@ -108,7 +108,6 @@ func main() {
}
q := req.URL.Query()
q.Add("wrap-with-directory", "true")
q.Add("progress", "false")
q.Add("stream-true", "false")
req.URL.RawQuery = q.Encode()
@ -129,8 +128,7 @@ func main() {
return nil
}
relPath, _ := filepath.Rel(path, innerPath)
w, err := mwriter.CreateIpfsFilePart(relPath)
w, err := mwriter.CreateIpfsFilePart(innerPath)
if err != nil {
return err
}