summaryrefslogtreecommitdiff
path: root/app/relay/index.js
diff options
context:
space:
mode:
authorJules Laplace <julescarbon@gmail.com>2018-05-25 19:54:38 +0200
committerJules Laplace <julescarbon@gmail.com>2018-05-25 19:54:38 +0200
commit5a4de48a6d63cb383832f6ef85b21699a511b755 (patch)
tree4c4fd18d26f8b5c95a6788d138ed62869357c975 /app/relay/index.js
parent1a99af129427275c22e8276e75fa4b8da6602129 (diff)
stubbing in a lot of stuff!
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) {