mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
add log message
This commit is contained in:
parent
5396e3c95c
commit
7b1535073b
1 changed files with 1 additions and 0 deletions
|
@ -45,6 +45,7 @@ function onOpen() {
|
||||||
}
|
}
|
||||||
|
|
||||||
export function initialize() {
|
export function initialize() {
|
||||||
|
console.debug('[autoCast] initializing connection listener');
|
||||||
ServerConnections.getApiClients().forEach(apiClient => {
|
ServerConnections.getApiClients().forEach(apiClient => {
|
||||||
Events.off(apiClient, 'websocketopen', onOpen);
|
Events.off(apiClient, 'websocketopen', onOpen);
|
||||||
Events.on(apiClient, 'websocketopen', onOpen);
|
Events.on(apiClient, 'websocketopen', onOpen);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue