1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

Only connect to ServerConnections once (#6150)

* Only connect to ServerConnections once

* Fix initial login after wizard completion

* Fix login when refreshing login or select server page
This commit is contained in:
viown 2024-10-10 23:36:32 +03:00 committed by GitHub
parent 176ebec6e2
commit 230925e159
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 19 additions and 12 deletions

View file

@ -110,6 +110,9 @@ build: ${__JF_BUILD_VERSION__}`);
Events.on(apiClient, 'requestfail', appRouter.onRequestFail);
});
// Connect to server
ServerConnections.firstConnection = await ServerConnections.connect();
// Render the app
await renderApp();