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

Merge pull request #3585 from thornbill/moar-router-cleanup

This commit is contained in:
Bill Thornton 2022-04-25 17:20:05 -04:00 committed by GitHub
commit 2c02c1c8ea
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 134 additions and 198 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) {