ZeroTierOne/attic/kubernetes_docs/server.js

9 lines
261 B
JavaScript
Raw Normal View History

2016-08-18 00:22:05 +00:00
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);