From 740d9bcbf07e6fab3479040fd4e80273de321a3a Mon Sep 17 00:00:00 2001 From: Jaroslav Kysela Date: Tue, 1 Aug 2017 20:05:52 +0200 Subject: [PATCH] javascript: fix websocket comet protocol identification (for chrome), fixes #4511 --- src/webui/static/app/comet.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/webui/static/app/comet.js b/src/webui/static/app/comet.js index bf5bc6f4f..8673c17fb 100644 --- a/src/webui/static/app/comet.js +++ b/src/webui/static/app/comet.js @@ -74,7 +74,7 @@ tvheadend.cometWebsocket = function() { var uri = tvheadend.wsURI; if (tvheadend.boxid) uri = uri + '?boxid=' + tvheadend.boxid; - tvheadend.ws = new WebSocket(uri); + tvheadend.ws = new WebSocket(uri, ['tvheadend-comet']); if (failures > 5) window.location.reload(); if (failures > 1) -- 2.47.3