[PR #3864] [MERGED] Fix missing texture image & epub ebook url for subdirectory support #4105

Closed
opened 2026-04-25 00:18:20 +02:00 by adam · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/advplyr/audiobookshelf/pull/3864
Author: @mikiher
Created: 1/20/2025
Status: Merged
Merged: 1/20/2025
Merged by: @advplyr

Base: masterHead: subdir-support-fix-missing-img


📝 Commits (2)

  • 6c540ad Fix missing texture image for subdirectory support
  • 78994b3 Update epub ebook url to include routerBasePath

📊 Changes

2 files changed (+4 additions, -4 deletions)

View changed files

📝 client/assets/app.css (+2 -2)
📝 client/components/readers/EpubReader.vue (+2 -2)

📄 Description

Brief summary

Fixes a missing texture image in the nuxt build.

Which issue is fixed?

This addresses this comment in #385

Fixes #3865

In-depth Description

assets/app.css contained a direct url link to /textures/wood_default.jpg. This breaks subdirectory support. Changed this to ~static/textures/wood_default.jpg so it is picked and served by _nuxt (like other urls in the .css files)

How have you tested this?

Ran against a dev server. The texture image is now fetched successfully from /audiobookshelf/_nuxt/img/wood_default.6d366e7.jpg instead of /textures/wood_default.jpg.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/advplyr/audiobookshelf/pull/3864 **Author:** [@mikiher](https://github.com/mikiher) **Created:** 1/20/2025 **Status:** ✅ Merged **Merged:** 1/20/2025 **Merged by:** [@advplyr](https://github.com/advplyr) **Base:** `master` ← **Head:** `subdir-support-fix-missing-img` --- ### 📝 Commits (2) - [`6c540ad`](https://github.com/advplyr/audiobookshelf/commit/6c540ad789ece811b15da9255ee2eee50d13e935) Fix missing texture image for subdirectory support - [`78994b3`](https://github.com/advplyr/audiobookshelf/commit/78994b3589e65265cf28be33bff9284306404ffd) Update epub ebook url to include routerBasePath ### 📊 Changes **2 files changed** (+4 additions, -4 deletions) <details> <summary>View changed files</summary> 📝 `client/assets/app.css` (+2 -2) 📝 `client/components/readers/EpubReader.vue` (+2 -2) </details> ### 📄 Description ## Brief summary Fixes a missing texture image in the nuxt build. ## Which issue is fixed? This addresses [this comment](https://github.com/advplyr/audiobookshelf/issues/385#issuecomment-2601167818) in #385 Fixes #3865 ## In-depth Description `assets/app.css` contained a direct url link to `/textures/wood_default.jpg`. This breaks subdirectory support. Changed this to `~static/textures/wood_default.jpg` so it is picked and served by _nuxt (like other urls in the .css files) ## How have you tested this? Ran against a dev server. The texture image is now fetched successfully from `/audiobookshelf/_nuxt/img/wood_default.6d366e7.jpg` instead of `/textures/wood_default.jpg`. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
adam added the pull-request label 2026-04-25 00:18:20 +02:00
adam closed this issue 2026-04-25 00:18:20 +02:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/audiobookshelf#4105