Fix bug in readers where web browser is unable to load the ebook when running behind a reverse proxy at /audiobookshelf

This commit is contained in:
Kareem Ahmad 2026-03-18 22:07:22 -04:00
parent 4bdd76d94c
commit a926df3aae
4 changed files with 11 additions and 11 deletions

View file

@ -31,9 +31,9 @@ export default {
},
ebookUrl() {
if (this.fileId) {
return `/api/items/${this.libraryItemId}/ebook/${this.fileId}`
return `/audiobookshelf/api/items/${this.libraryItemId}/ebook/${this.fileId}`
}
return `/api/items/${this.libraryItemId}/ebook`
return `/audiobookshelf/api/items/${this.libraryItemId}/ebook`
}
},
methods: {