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 )