Commit c2236adb authored by Yannis Barlas's avatar Yannis Barlas

add gitignore and update readme

parent 8f795335
\ No newline at end of file
......@@ -34,7 +34,7 @@ app.use('/books/:book/epub', (req, res, next) => {
// the base path for relative image URLs
const resourceRoot = path.join(__dirname, 'uploads')
const epub = new HTMLEPUB(book, {resourceRoot})
const epub = new HTMLEPUB(book, {resourceRoot, stylesRoot})
// pipe the zip file to the response stream
epub.load(parts).then(() =>
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