Skip to content

Commit

Permalink
Merge pull request #3217 from ic1415/LibraryItemController
Browse files Browse the repository at this point in the history
Update LibraryItemController.js
  • Loading branch information
advplyr authored Aug 2, 2024
2 parents 4a5345d + 2a69955 commit 39c26d2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions server/controllers/LibraryItemController.js
Original file line number Diff line number Diff line change
Expand Up @@ -738,6 +738,8 @@ class LibraryItemController {
return res.sendStatus(404)
}
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) {
const encodedURI = encodeUriPath(global.XAccel + ebookFilePath)
Expand Down

0 comments on commit 39c26d2

Please sign in to comment.