X-Git-Url: https://www.kengrimes.com/gitweb/?p=henge%2Fkiak.git;a=blobdiff_plain;f=main.js;h=a5b105b183ce9c5ce32c9e4899382655c21ddf55;hp=9187a77e78a48e2b7fc1297cb0028d834aedb1b9;hb=612dc5ccc554584ab2b849767da83e1a235c450d;hpb=0ff5eabbfe914a66b7f6b2a7f22f6469895ab826 diff --git a/main.js b/main.js index 9187a77..a5b105b 100644 --- a/main.js +++ b/main.js @@ -66,9 +66,7 @@ const router = { const clients = route['clients'] const headerData = request.headers['x-strapp-type'] - if (route.socket === undefined ) { - console.log('route socket undefined') - } + /* Client is INIT GET */ if (headerData === undefined) { @@ -88,7 +86,6 @@ const router = { data = Buffer.concat(data).toString(); console.log('Sending ice-candidate-request to Host' + data) clients.set(data, response) - route.socket.send(data) }) }