Add leading slash
All checks were successful
Create and publish a Docker image / build-and-push-image (push) Successful in 55s

This commit is contained in:
Alexandre Bruyant 2024-01-07 16:58:26 +01:00
parent 35c7e62505
commit 88da1d9b3c

View File

@ -130,7 +130,7 @@ func main() {
return err
}
w, err = mwriter.CreateIpfsFilePart(absPath, innerPath)
w, err = mwriter.CreateIpfsFilePart(fmt.Sprintf("/%v", absPath), innerPath)
if err != nil {
return err
}