mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Backport pull request #5657 from jellyfin-web/release-10.9.z
Revert "Fix extra requests in standalone mode"
Original-merge: 574eddada8
Merged-by: thornbill <thornbill@users.noreply.github.com>
Backported-by: Joshua M. Boniface <joshua@boniface.me>
This commit is contained in:
parent
5e8372c42d
commit
fae81839ec
1 changed files with 1 additions and 1 deletions
|
@ -21,7 +21,7 @@ export function getCurrentUser() {
|
|||
|
||||
// TODO: investigate url prefix support for serverAddress function
|
||||
export async function serverAddress() {
|
||||
const apiClient = window.ApiClient ?? ServerConnections.currentApiClient();
|
||||
const apiClient = window.ApiClient;
|
||||
|
||||
if (apiClient) {
|
||||
return Promise.resolve(apiClient.serverAddress());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue