mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2025-06-01 01:15:18 +02:00
Update server/controllers/LibraryItemController.js
This commit is contained in:
parent
9eb0ec76fe
commit
2a69955cc1
@ -739,7 +739,7 @@ class LibraryItemController {
|
|||||||
}
|
}
|
||||||
const ebookFilePath = ebookFile.metadata.path
|
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) {
|
if (global.XAccel) {
|
||||||
const encodedURI = encodeUriPath(global.XAccel + ebookFilePath)
|
const encodedURI = encodeUriPath(global.XAccel + ebookFilePath)
|
||||||
|
Loading…
Reference in New Issue
Block a user