From a20335c045322268a041b4c2a093722066cf48de Mon Sep 17 00:00:00 2001 From: xdrm-brackets Date: Thu, 7 Dec 2017 20:06:45 +0100 Subject: [PATCH] upd: view.websocket (added subchannel 31 RPZ) --- view/websocket.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/view/websocket.js b/view/websocket.js index 34ba274..6343273 100644 --- a/view/websocket.js +++ b/view/websocket.js @@ -5,7 +5,7 @@ const router = window._router_; /* (1) Emergency channel ---------------------------------------------------------*/ -window.wsc_emergency = wsc.channel('emergency').listen(function(msg, err){ +window.wsc_emergency = wsc.channel('emergency/31').listen(function(msg, err){ /* (1) Manage error */ if( msg == null && err != null ) @@ -38,7 +38,7 @@ window.wsc_emergency = wsc.channel('emergency').listen(function(msg, err){ /* (2) Event channel ---------------------------------------------------------*/ -window.wsc_event = wsc.channel('event').listen(function(msg, err){ +window.wsc_event = wsc.channel('event/31').listen(function(msg, err){ /* (1) Manage error */ if( msg == null && err != null )