mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
consolidate web socket onto one port
This commit is contained in:
parent
455d3111d9
commit
c944079976
1 changed files with 1 additions and 0 deletions
|
@ -197,6 +197,7 @@ MediaBrowser.ApiClient = function ($, navigator, JSON, WebSocket, setTimeout, wi
|
|||
webSocket = new WebSocket(url);
|
||||
|
||||
webSocket.onmessage = function (msg) {
|
||||
|
||||
msg = JSON.parse(msg.data);
|
||||
$(self).trigger("websocketmessage", [msg]);
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue