1
0
Fork 0
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:
Bill Thornton 2022-04-21 13:43:12 -04:00
parent 5438d3b32c
commit a59722126f
3 changed files with 54 additions and 69 deletions

View file

@ -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) {