upd: view.websocket (added subchannel 31 RPZ)
This commit is contained in:
parent
9a9af7373e
commit
a20335c045
|
@ -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 )
|
||||||
|
|
Loading…
Reference in New Issue