mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Merge pull request #5657 from thornbill/always-check-server
Revert "Fix extra requests in standalone mode"
This commit is contained in:
commit
574eddada8
1 changed files with 1 additions and 1 deletions
|
@ -21,7 +21,7 @@ export function getCurrentUser() {
|
||||||
|
|
||||||
// TODO: investigate url prefix support for serverAddress function
|
// TODO: investigate url prefix support for serverAddress function
|
||||||
export async function serverAddress() {
|
export async function serverAddress() {
|
||||||
const apiClient = window.ApiClient ?? ServerConnections.currentApiClient();
|
const apiClient = window.ApiClient;
|
||||||
|
|
||||||
if (apiClient) {
|
if (apiClient) {
|
||||||
return Promise.resolve(apiClient.serverAddress());
|
return Promise.resolve(apiClient.serverAddress());
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue