mirror of
				https://github.com/advplyr/audiobookshelf.git
				synced 2025-10-27 11:18:14 +01:00 
			
		
		
		
	Merge branch 'master' of https://github.com/advplyr/audiobookshelf
This commit is contained in:
		
						commit
						642cf232ba
					
				@ -739,6 +739,8 @@ class LibraryItemController {
 | 
				
			|||||||
    }
 | 
					    }
 | 
				
			||||||
    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)
 | 
				
			||||||
      Logger.debug(`Use X-Accel to serve static file ${encodedURI}`)
 | 
					      Logger.debug(`Use X-Accel to serve static file ${encodedURI}`)
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user