mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2026-03-03 22:49:42 +00:00
fix: make comic-page endpoint public (like covers)
The img src tag doesn't send auth headers, so the comic-page endpoint needs to be publicly accessible like the cover endpoint.
This commit is contained in:
parent
2245d7e9c6
commit
c6c8b378ab
2 changed files with 18 additions and 6 deletions
|
|
@ -128,7 +128,7 @@ class ApiRouter {
|
|||
this.router.patch('/items/:id/ebook/:fileid/status', LibraryItemController.middleware.bind(this), LibraryItemController.updateEbookFileStatus.bind(this))
|
||||
// Comic page routes - server-side extraction with caching for performance
|
||||
this.router.get('/items/:id/comic-pages/:fileid?', LibraryItemController.middleware.bind(this), LibraryItemController.getComicPages.bind(this))
|
||||
this.router.get('/items/:id/comic-page/:page/:fileid?', LibraryItemController.middleware.bind(this), LibraryItemController.getComicPage.bind(this))
|
||||
this.router.get('/items/:id/comic-page/:page/:fileid?', LibraryItemController.getComicPage.bind(this))
|
||||
|
||||
//
|
||||
// User Routes
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue