mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2024-12-27 16:28:52 +00:00
9 lines
261 B
JavaScript
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);
|