cavalry
Version:
Basically Fleet without dnode.
8 lines (7 loc) • 299 B
JavaScript
var http = require('http');
var port = process.env.PORT || 1337;
http.createServer(function (req, res) {
res.writeHead(200, {'Content-Type': 'text/plain'});
res.end('This is the test1 repo on '+port+'\n');
}).listen(port, '0.0.0.0');
console.log('Server running at http://127.0.0.1:'+port+'/');