[PR #2610] [CLOSED] make server url configurable in dev mode #3746

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

📋 Pull Request Information

Original PR: https://github.com/advplyr/audiobookshelf/pull/2610
Author: @freddy36
Created: 2/13/2024
Status: Closed

Base: masterHead: localhost


📝 Commits (1)

  • e641b31 make server url configurable in dev mode

📊 Changes

5 files changed (+4 additions, -19 deletions)

View changed files

📝 client/components/covers/AuthorImage.vue (+0 -4)
📝 client/components/modals/rssfeed/OpenCloseModal.vue (+0 -1)
📝 client/nuxt.config.js (+4 -4)
📝 client/pages/audiobook/_id/chapters.vue (+0 -3)
📝 client/store/globals.js (+0 -7)

📄 Description

Currently when the server is running in dev mode it always assumes it's running on localhost.
With this changes it becomes configurable via the DEV_SERVER_URL environment variable.

Also some - probably no longer neeed - hardcoded localhost URLs in some javascript files have been removed.


🔄 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/2610 **Author:** [@freddy36](https://github.com/freddy36) **Created:** 2/13/2024 **Status:** ❌ Closed **Base:** `master` ← **Head:** `localhost` --- ### 📝 Commits (1) - [`e641b31`](https://github.com/advplyr/audiobookshelf/commit/e641b319f70be7cbc4a2623a2967f403c7ea9d52) make server url configurable in dev mode ### 📊 Changes **5 files changed** (+4 additions, -19 deletions) <details> <summary>View changed files</summary> 📝 `client/components/covers/AuthorImage.vue` (+0 -4) 📝 `client/components/modals/rssfeed/OpenCloseModal.vue` (+0 -1) 📝 `client/nuxt.config.js` (+4 -4) 📝 `client/pages/audiobook/_id/chapters.vue` (+0 -3) 📝 `client/store/globals.js` (+0 -7) </details> ### 📄 Description Currently when the server is running in dev mode it always assumes it's running on localhost. With this changes it becomes configurable via the DEV_SERVER_URL environment variable. Also some - probably no longer neeed - hardcoded localhost URLs in some javascript files have been removed. --- <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:16:54 +02:00
adam closed this issue 2026-04-25 00:16:54 +02:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/audiobookshelf#3746