Commit b8a6f5c7 authored by Mab's avatar Mab

feat: tmp use former pagedjs

parent 2fa2e58f
......@@ -90,7 +90,7 @@ const folder = async (outcome, stylesRoot = undefined, previewer, style) => {
const pdfExport = await exec(
`/var/www/custom_package/pagedjs-cli/bin/paged -i ${path}/index2.html -o ${path}/index.pdf`,
`~/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