This commit is contained in:
MasterAcnolo
2025-06-26 16:19:26 +02:00
parent 0c99e48950
commit 07485f39ba

View File

@@ -1,3 +1,5 @@
const PORT_LISTEN = 8080
http=require("http") http=require("http")
@@ -8,6 +10,7 @@ http.createServer((req,res) =>{
}) })
res.write('{"nom":"JeanKul","prenom":"TaMere"}') res.write('{"nom":"JeanKul","prenom":"TaMere"}')
res.end() res.end()
}).listen(8080,()=>{ }).listen(PORT_LISTEN,()=>{
console.log("J'écoute ta grand mère") console.log("Je suis allumé 😊 et j'écoute sur le port " + PORT_LISTEN)
}) })