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
Using docsify-to-pdf-converter behind a (company) proxy could be a little tricky, mainly due to puppeteer:
For chromium package download via NPM
For configuring proxy & authentication for puppeteer rendering (some resource like https://cdnjs.cloudflare.com/ajax/libs/lodash.js/4.17.11/lodash.min.js are required)
About [1], you should proxify https://storage.googleapis.com remote endpoint (with Nexus, Artifactory, ...) and configure puppeteer host download with you internal endpoint:
npm config set puppeteer_download_host http://repo.company.com/google-storage-remote
This item could perhaps be mentionned into readme.md
About [2], it requires feature development in render.js with new configuration options:
proxyHost: "proxy.company.com:8080", // Optional company proxy host
proxyUser: "foo", // Optional user for proxy authentication
proxyPassword: "bar", // Optional password for proxy user
When setted, these options should be used as below (details in #2234) ;
Using docsify-to-pdf-converter behind a (company) proxy could be a little tricky, mainly due to puppeteer:
https://cdnjs.cloudflare.com/ajax/libs/lodash.js/4.17.11/lodash.min.js
are required)About [1], you should proxify https://storage.googleapis.com remote endpoint (with Nexus, Artifactory, ...) and configure puppeteer host download with you internal endpoint:
This item could perhaps be mentionned into readme.md
About [2], it requires feature development in render.js with new configuration options:
When setted, these options should be used as below (details in #2234) ;
docsify-to-pdf-converter/src/render.js
Lines 14 to 19 in aae1db4
==>
docsify-to-pdf-converter/src/render.js
Lines 24 to 25 in 0569a0a
==>
The text was updated successfully, but these errors were encountered: