Commit 15c61b4a authored by Mab's avatar Mab

use custom_package pagedjscli

parent 0a2234a4
......@@ -86,10 +86,11 @@ const folder = async (outcome, stylesRoot = undefined, previewer, style) => {
}
console.log(`stdout: ${stdout}`)
console.log(`stderr: ${stderr}`)
console.log(`/var/www/custom_package/pagedjs-cli/bin/paged -i ${path}/index2.html -o ${path}/index.pdf`)
}
)
const pdfExport = await exec(
`~/pagedjs-cli/bin/paged -i ${path}/index2.html -o ${path}/index.pdf`,
`/var/www/custom_package/pagedjs-cli/bin/paged -i ${path}/index2.html -o ${path}/index.pdf`,
(error, stdout, stderr) => {
if (error) {
console.error(`exec error: ${error}`)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment