This commit is contained in:
Kareem Ahmad 2026-06-30 21:49:32 +02:00 committed by GitHub
commit 1454b96a89
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 3 additions and 3 deletions

View file

@ -65,7 +65,7 @@ const MAX_SCALE = 400
const MIN_SCALE = 10
Archive.init({
workerUrl: '/libarchive/worker-bundle.js'
workerUrl: '/audiobookshelf/libarchive/worker-bundle.js'
})
export default {

View file

@ -104,9 +104,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: {