From 6c540ad789ece811b15da9255ee2eee50d13e935 Mon Sep 17 00:00:00 2001 From: mikiher Date: Mon, 20 Jan 2025 08:38:58 +0200 Subject: [PATCH 1/2] Fix missing texture image for subdirectory support --- client/assets/app.css | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/client/assets/app.css b/client/assets/app.css index 7daf74ff4b..0cd4ac4926 100644 --- a/client/assets/app.css +++ b/client/assets/app.css @@ -5,7 +5,7 @@ @import './absicons.css'; :root { - --bookshelf-texture-img: url(/textures/wood_default.jpg); + --bookshelf-texture-img: url(~static/textures/wood_default.jpg); --bookshelf-divider-bg: linear-gradient(180deg, rgba(149, 119, 90, 1) 0%, rgba(103, 70, 37, 1) 17%, rgba(103, 70, 37, 1) 88%, rgba(71, 48, 25, 1) 100%); } @@ -247,4 +247,4 @@ Bookshelf Label .abs-btn:disabled::before { background-color: rgba(0, 0, 0, 0.2); -} \ No newline at end of file +} From 78994b3589e65265cf28be33bff9284306404ffd Mon Sep 17 00:00:00 2001 From: advplyr Date: Mon, 20 Jan 2025 09:06:45 -0600 Subject: [PATCH 2/2] Update epub ebook url to include routerBasePath --- client/components/readers/EpubReader.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/client/components/readers/EpubReader.vue b/client/components/readers/EpubReader.vue index 725e9cc1e6..350d8596c9 100644 --- a/client/components/readers/EpubReader.vue +++ b/client/components/readers/EpubReader.vue @@ -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'