Skip to content

fix(#369)-feat: infinite loop cause by requestInterception and load file as buffer

Mathis Poncet requested to merge math712b/pagedjs-cli:master into master

Hello 😄

image

️ Cause some problem to handle request such as getting fonts online.

In top of that, I think it is great to work only with buffer which contains html. To do that, I read the file with the path to html which is given to input command (pagedjs-cli -i <pathToInputHtml>). When you use readFileSync from fs lib, it return a buffer with the content of file

Merge request reports