diff --git a/api/utils/socket.ts b/api/utils/socket.ts index cab085e..1748c1a 100644 --- a/api/utils/socket.ts +++ b/api/utils/socket.ts @@ -15,13 +15,11 @@ const connect = (server) => { // var id = connectionCounter++; // connections.set(id, socket) // lastConn = socket - console.log(srvr) }) } const send = (body) => { - console.log(srvr) // connections.forEach((socket, index) => { // socket.send(body) // }) diff --git a/dist/api/utils/socket.js b/dist/api/utils/socket.js index 5dc72cf..80c37b2 100644 --- a/dist/api/utils/socket.js +++ b/dist/api/utils/socket.js @@ -13,12 +13,10 @@ const connect = (server) => { // var id = connectionCounter++; // connections.set(id, socket) // lastConn = socket - console.log(srvr); }); }; exports.connect = connect; const send = (body) => { - console.log(srvr); // connections.forEach((socket, index) => { // socket.send(body) // }) diff --git a/dist/api/utils/socket.js.map b/dist/api/utils/socket.js.map index 5676bbe..00e0b18 100644 --- a/dist/api/utils/socket.js.map +++ b/dist/api/utils/socket.js.map @@ -1 +1 @@ -{"version":3,"file":"socket.js","sourceRoot":"","sources":["../../../api/utils/socket.ts"],"names":[],"mappings":";;AAAA,gCAA+B;AAE/B,8BAA8B;AAC9B,4BAA4B;AAE5B,oBAAoB;AACpB,IAAI,IAAS,CAAA;AAEb,MAAM,OAAO,GAAG,CAAC,MAAM,EAAE,EAAE;IACzB,IAAI,GAAG,IAAI,SAAS,CAAC,MAAM,CAAC,EAAE,MAAM,EAAE,cAAc,EAAC,IAAI,EAAE,CAAC,CAAA;IAC5D,OAAO,CAAC,GAAG,CAAC,iCAAiC,CAAC,CAAA;IAE9C,IAAI,CAAC,EAAE,CAAC,YAAY,EAAE,MAAM,CAAC,EAAE;QAC7B,OAAO,CAAC,GAAG,CAAC,iCAAiC,CAAC,CAAA;QAC9C,gCAAgC;QAChC,8BAA8B;QAC9B,oBAAoB;QACpB,OAAO,CAAC,GAAG,CAAC,IAAI,CAAC,CAAA;IACnB,CAAC,CAAC,CAAA;AAEJ,CAAC,CAAA;AAoBC,0BAAO;AAlBT,MAAM,IAAI,GAAG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AA,EAAE;QACtB,IAAG,CAAC,IAAI,CAAC,CAAC,SAAS,EAAE;YACnB,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAA;SACb;IACH,CAAC,CAAC,CAAA;AACJ,CAAC,CAAA;AAQC,oBAAI;AANN,MAAM,QAAQ,GAAG,CAAC,MAAM,EAAE,EAAE;IAC1B,IAAI,CAAC,IAAI,CAAC,SAAS,CAAC,MAAM,CAAC,CAAC,CAAA;AAC9B,CAAC,CAAA;AAKC,4BAAQ"} \ No newline at end of file