mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Remove api client setup from app router
This commit is contained in:
parent
5438d3b32c
commit
a59722126f
3 changed files with 54 additions and 69 deletions
|
@ -163,6 +163,10 @@ async function onAppReady() {
|
|||
import('../assets/css/ios.scss');
|
||||
}
|
||||
|
||||
Events.on(appHost, 'resume', () => {
|
||||
ServerConnections.currentApiClient()?.ensureWebSocket();
|
||||
});
|
||||
|
||||
appRouter.start();
|
||||
|
||||
if (!browser.tv && !browser.xboxOne && !browser.ps4) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue