Skip to content

Commit

Permalink
Fix fix fix.
Browse files Browse the repository at this point in the history
  • Loading branch information
raksooo committed May 18, 2015
1 parent 375e84d commit 0029ba2
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions server.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,9 @@ app.post('/receive', function(req, res) {
sse.send({'type': 'start'});
dockerx.server.receive(name, port).then((imageHash) => {
let servePort = 7021;
let output = dockerx.run(imageHash, servePort);
let output = dockerx.server.run(imageHash, servePort);
console.log(timestamp() + " FINISHED, running at port: " + servePort + ", hash: " + output + "\n");
sse.send({'type': 'finished', 'port': servePort});
dockerx.server.run(imageHash, servePort);
});

// response to post request:
Expand Down

0 comments on commit 0029ba2

Please sign in to comment.