Update server/controllers/LibraryItemController.js

This commit is contained in:
advplyr 2024-08-02 16:30:21 -05:00 committed by GitHub
parent 9eb0ec76fe
commit 2a69955cc1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

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