Skip to content

Commit

Permalink
Update epub ebook url to include routerBasePath
Browse files Browse the repository at this point in the history
  • Loading branch information
advplyr committed Jan 20, 2025
1 parent 6c540ad commit 78994b3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions client/components/readers/EpubReader.vue
Original file line number Diff line number Diff line change
Expand Up @@ -97,9 +97,9 @@ export default {
},
ebookUrl() {
if (this.fileId) {
return `/api/items/${this.libraryItemId}/ebook/${this.fileId}`
return `${this.$config.routerBasePath}/api/items/${this.libraryItemId}/ebook/${this.fileId}`
}
return `/api/items/${this.libraryItemId}/ebook`
return `${this.$config.routerBasePath}/api/items/${this.libraryItemId}/ebook`
},
themeRules() {
const isDark = this.ereaderSettings.theme === 'dark'
Expand Down

0 comments on commit 78994b3

Please sign in to comment.