upd: view.websocket (added subchannel 31 RPZ)

This commit is contained in:
xdrm-brackets 2017-12-07 20:06:45 +01:00
parent 9a9af7373e
commit a20335c045
1 changed files with 2 additions and 2 deletions

View File

@ -5,7 +5,7 @@ const router = window._router_;
/* (1) Emergency channel /* (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 */ /* (1) Manage error */
if( msg == null && err != null ) if( msg == null && err != null )
@ -38,7 +38,7 @@ window.wsc_emergency = wsc.channel('emergency').listen(function(msg, err){
/* (2) Event channel /* (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 */ /* (1) Manage error */
if( msg == null && err != null ) if( msg == null && err != null )