This commit is contained in:
advplyr 2024-08-03 15:08:45 -05:00
commit 642cf232ba

View File

@ -738,6 +738,8 @@ class LibraryItemController {
return res.sendStatus(404) return res.sendStatus(404)
} }
const ebookFilePath = ebookFile.metadata.path const ebookFilePath = ebookFile.metadata.path
Logger.info(`[LibraryItemController] User "${req.user.username}" requested download for item "${req.libraryItem.media.metadata.title}" ebook at "${ebookFilePath}"`)
if (global.XAccel) { if (global.XAccel) {
const encodedURI = encodeUriPath(global.XAccel + ebookFilePath) const encodedURI = encodeUriPath(global.XAccel + ebookFilePath)