Stop wrapping
This commit is contained in:
parent
3f708b16d9
commit
0a6b3ea264
4
main.go
4
main.go
@ -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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user