You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 14, 2024. It is now read-only.
I wanted to add a glob("images/*") which i would then feed to req.Asset; the filename part of issuing gotenberg.NewDocumentFromPath would be images/logo.png.
If doing it like this, the rendering fails with "failed to generate the result PDF", and it works if I remove the images/ from the filename path. I suspect because the assets path should be created when adding it, and there's an os.Mkdir missing in gotenberg somewhere.
I am using the 6.2 docker image with this.
The text was updated successfully, but these errors were encountered:
I am upgrading from the Go client from v6 to v7:
I wanted to add a
glob("images/*")
which i would then feed to req.Asset; the filename part of issuinggotenberg.NewDocumentFromPath
would beimages/logo.png
.If doing it like this, the rendering fails with "failed to generate the result PDF", and it works if I remove the
images/
from the filename path. I suspect because the assets path should be created when adding it, and there's an os.Mkdir missing in gotenberg somewhere.I am using the 6.2 docker image with this.
The text was updated successfully, but these errors were encountered: