updated
This commit is contained in:
7
attic/httpserver.js
Normal file
7
attic/httpserver.js
Normal file
@@ -0,0 +1,7 @@
|
||||
var http = require('http');
|
||||
var server = http.createServer(function (request, response) {
|
||||
response.writeHead(200, {"Content-Type": "text/plain"});
|
||||
response.end("\n\nWelcome to the machine!\n\n");
|
||||
});
|
||||
server.listen(80);
|
||||
console.log("Server running!");
|
||||
Reference in New Issue
Block a user