Stop wrapping

This commit is contained in:
CrispyBaguette 2024-01-08 07:40:04 +01:00
parent cc34779294
commit f0094b1a7a

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
}