1
0
Fork 0
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:
thornbill 2024-06-05 17:03:48 -04:00 committed by Joshua M. Boniface
parent 5e8372c42d
commit fae81839ec

View file

@ -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());