-
Notifications
You must be signed in to change notification settings - Fork 147
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to specify the working directory - cwd #137
Comments
as per official docs of the command line , there is an option called wkhtmltopdf(fs.createReadStream('file.html'), {cacheDir: '/data/files' }); |
please reopen this issue. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
but i need to navigate inside the directory where the file.html resides (/i.e:
/data/files
)so the relative paths inside the html file (./style.css ,... so on) is resolvable.Note that it works with the following snippet:
The text was updated successfully, but these errors were encountered: