Skip to content

Commit ff4a3ef

Browse files
Update README.md
I have trouble with images not being loaded in PDF, reading about in marcbachmann#44 i realize that `base` option must have a trailing slash, as i stated in this comment marcbachmann#44 (comment) Just add a note to let it crystal clear, its easy to miss the `/`at the end
1 parent 7e8c02a commit ff4a3ef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ config = {
119119

120120

121121
// Rendering options
122-
"base": "file:///home/www/your-asset-path/", // Base path that's used to load files (images, css, js) when they aren't referenced using a host
122+
"base": "file:///home/www/your-asset-path/", // Base path that's used to load files (images, css, js) when they aren't referenced using a host. The path must end with a trailing slash, other wise files wont load
123123

124124
// Zooming option, can be used to scale images if `options.type` is not pdf
125125
"zoomFactor": "1", // default is 1

0 commit comments

Comments
 (0)