This commit is contained in:
2
index.js
2
index.js
@@ -2,7 +2,7 @@ const http = require('http');
|
|||||||
|
|
||||||
const server = http.createServer((req, res) => {
|
const server = http.createServer((req, res) => {
|
||||||
res.writeHead(200, { 'Content-Type': 'text/plain' });
|
res.writeHead(200, { 'Content-Type': 'text/plain' });
|
||||||
res.end('Hello World mega cracks\n');
|
res.end('Hello World mega cracks dice que funciona\n');
|
||||||
});
|
});
|
||||||
|
|
||||||
const PORT = 3000;
|
const PORT = 3000;
|
||||||
|
|||||||
Reference in New Issue
Block a user