ZeroTierOne/doc/ext/kubernetes/server.js
2016-08-17 17:22:05 -07:00

9 lines
261 B
JavaScript

var http = require('http');
var handleRequest = function(request, response) {
console.log('Received request for URL: ' + request.url);
response.writeHead(200);
response.end('Hello World!');
};
var www = http.createServer(handleRequest);
www.listen(8080);