apunteak/ariketa-01/index.js

9 lines
212 B
JavaScript
Raw Normal View History

2022-01-29 20:56:40 +01:00
const http = require('http');
const server = http.createServer(function(req, res){
res.writeHead(200);
res.end('Hello World!!');
});
server.listen(8080);
console.log('http zerbitzaria lanean 8080 atakan...');