Skip to content
Snippets Groups Projects

When providing browserEndpoint option, pagedJS correctly connects to it

Merged Boris Budini requested to merge master into master
2 files
+ 13
7
Compare changes
  • Side-by-side
  • Inline
Files
2
+ 2
1
@@ -39,7 +39,7 @@ program
"added to the HTML document before rendering. This is useful for " +
"adding custom pagedjs handlers. The option can be repeated.",
collect, [])
.option("--browserEndpoint", "Use a remote Chrome server with browserWSEndpoint")
.option("--browserEndpoint <browserEndpoint>", "Use a remote Chrome server with browserWSEndpoint")
.parse(process.argv);
function collect(value, previous) {
@@ -115,6 +115,7 @@ if (typeof input === "string") {
allowedPaths: program.allowedPaths,
allowedDomains: program.allowedDomains,
additionalScripts: program.additionalScript,
browserEndpoint: program.browserEndpoint
};
if (program.forceTransparentBackground) {