diff options
| author | Jules Laplace <julescarbon@gmail.com> | 2018-05-20 19:21:07 +0200 |
|---|---|---|
| committer | Jules Laplace <julescarbon@gmail.com> | 2018-05-20 19:21:07 +0200 |
| commit | d6e7b1e32b9395ae8699461ba7c58059e5712d49 (patch) | |
| tree | 9659ff6cc5082d89a6c5808e42b659a7bfd48db6 /app/relay/index.js | |
| parent | 0691bca6d1f59a61ac30938363e437da034e9c47 (diff) | |
sick its working
Diffstat (limited to 'app/relay/index.js')
| -rw-r--r-- | app/relay/index.js | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/app/relay/index.js b/app/relay/index.js index 16bb988..61d3c68 100644 --- a/app/relay/index.js +++ b/app/relay/index.js @@ -5,7 +5,6 @@ const zerorpc = require('zerorpc') const Readable = require('stream').Readable; let remote = io.connect(process.env.SOCKETIO_REMOTE); - remote.on('cmd', (data) => { console.log('cmd data', data) if (! data.cmd) { @@ -50,7 +49,7 @@ let relay = new zerorpc.Server({ send_frame: function (fn, frame, reply) { reply() - console.log('got frame, ' + frame.length + ' bytes') + // console.log('got frame, ' + frame.length + ' bytes') remote.emit('frame', { fn: fn, frame: frame }) } }) |
