⚙️ Switched the transporter to Redis

This commit is contained in:
2021-11-23 23:23:47 -08:00
parent e270b6a2b3
commit ae91b12abc
4 changed files with 12 additions and 9 deletions

View File

@@ -88,8 +88,9 @@ export const extractCoverFromFile = async (
walkedFolder.name +
"_cover.jpg"
);
const ebookMetaPath =
`${process.env.CALIBRE_EBOOK_META_PATH}` || `ebook-meta`;
const ebookMetaPath = process.env.CALIBRE_EBOOK_META_PATH
? `${process.env.CALIBRE_EBOOK_META_PATH}`
: `ebook-meta`;
result = await calibre.run(
ebookMetaPath,
[constructedPaths.inputFilePath],