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:
parent
176ebec6e2
commit
230925e159
3 changed files with 19 additions and 12 deletions
|
@ -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();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue