Tentative fox for abspath
All checks were successful
Create and publish a Docker image / build-and-push-image (push) Successful in 58s

This commit is contained in:
Alexandre Bruyant 2024-01-07 16:40:45 +01:00
parent a3a692b5f2
commit eb370a6cb3

View File

@ -120,7 +120,12 @@ func main() {
return nil
}
w, err = mwriter.CreateIpfsFilePart(innerPath, innerPath)
absPath, err := filepath.Rel(path, innerPath)
if err != nil {
return err
}
w, err = mwriter.CreateIpfsFilePart(absPath, innerPath)
if err != nil {
return err
}