mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Revert "Fix extra requests in standalone mode"
This reverts commit 4161220965
.
This commit is contained in:
parent
74a3bd8768
commit
4dd44dfd9f
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