README update and example server port change
This commit is contained in:
parent
23cdb3aed5
commit
e91322bd10
2 changed files with 10 additions and 4 deletions
|
@ -1,7 +1,7 @@
|
|||
var http = require('http');
|
||||
var server = http.createServer(function (request, response) {
|
||||
response.writeHead(200, {"Content-Type": "text/plain"});
|
||||
response.end("welcome to the machine!\n");
|
||||
response.end("\n\nWelcome to the machine!\n\n");
|
||||
});
|
||||
server.listen(8080);
|
||||
server.listen(80);
|
||||
console.log("Server running!");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue