Attempt to wrap
All checks were successful
Create and publish a Docker image / build-and-push-image (push) Successful in 55s
All checks were successful
Create and publish a Docker image / build-and-push-image (push) Successful in 55s
This commit is contained in:
parent
88da1d9b3c
commit
80f88cd69b
4
main.go
4
main.go
@ -99,6 +99,10 @@ func main() {
|
|||||||
githubactions.Fatalf("Unable to create request: %v", err.Error())
|
githubactions.Fatalf("Unable to create request: %v", err.Error())
|
||||||
}
|
}
|
||||||
|
|
||||||
|
q := req.URL.Query()
|
||||||
|
q.Add("wrap-with-directory", "true")
|
||||||
|
req.URL.RawQuery = q.Encode()
|
||||||
|
|
||||||
mwriter := NewIpfsMultipartWriter(writer)
|
mwriter := NewIpfsMultipartWriter(writer)
|
||||||
req.Header.Add("Content-Type", mwriter.FormDataContentType())
|
req.Header.Add("Content-Type", mwriter.FormDataContentType())
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user