mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2026-07-06 17:31:41 +00:00
Merge d9fa4d709c into 6f03467f35
This commit is contained in:
commit
1454b96a89
2 changed files with 3 additions and 3 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
|
|
@ -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: {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue