summaryrefslogtreecommitdiff
path: root/app/relay/index.js
diff options
context:
space:
mode:
Diffstat (limited to 'app/relay/index.js')
-rw-r--r--app/relay/index.js6
1 files changed, 4 insertions, 2 deletions
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) {