From fae81839ecccbb29c9abe61f032585bac9da08fa Mon Sep 17 00:00:00 2001 From: thornbill Date: Wed, 5 Jun 2024 17:03:48 -0400 Subject: [PATCH] Backport pull request #5657 from jellyfin-web/release-10.9.z Revert "Fix extra requests in standalone mode" Original-merge: 574eddada87cc180f460f63f24cf9aabf9c65c81 Merged-by: thornbill Backported-by: Joshua M. Boniface --- src/utils/dashboard.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils/dashboard.js b/src/utils/dashboard.js index 65c34fc309..393125c6fd 100644 --- a/src/utils/dashboard.js +++ b/src/utils/dashboard.js @@ -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());