diff --git a/index.js b/index.js index 0812839..4194940 100644 --- a/index.js +++ b/index.js @@ -80,7 +80,7 @@ app.ws('/iem', (ws, req) => { location: wfos[key].location, room: wfos[key].room } - }); + }), iem })); sock = wsConnections.push({ ws, req, subs: [] });