From 5a4de48a6d63cb383832f6ef85b21699a511b755 Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Fri, 25 May 2018 19:54:38 +0200 Subject: stubbing in a lot of stuff! --- app/relay/index.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'app/relay/index.js') diff --git a/app/relay/index.js b/app/relay/index.js index 00f3dfa..d43f221 100644 --- a/app/relay/index.js +++ b/app/relay/index.js @@ -2,9 +2,11 @@ require('dotenv').config() const io = require('socket.io-client') const zerorpc = require('zerorpc') -const Readable = require('stream').Readable; +const Readable = require('stream').Readable +const runner = require('./runner') + +let remote = io.connect(process.env.SOCKETIO_REMOTE) -let remote = io.connect(process.env.SOCKETIO_REMOTE); remote.on('cmd', (data) => { console.log('cmd data', data) if (! data.cmd) { -- cgit v1.2.3-70-g09d2