mirror of
https://github.com/MasterAcnolo/Freedom-Loader.git
synced 2026-07-29 18:25:47 +02:00
OUII
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
const PORT_LISTEN = 8080
|
||||
|
||||
http=require("http")
|
||||
|
||||
|
||||
@@ -8,6 +10,7 @@ http.createServer((req,res) =>{
|
||||
})
|
||||
res.write('{"nom":"JeanKul","prenom":"TaMere"}')
|
||||
res.end()
|
||||
}).listen(8080,()=>{
|
||||
console.log("J'écoute ta grand mère")
|
||||
}).listen(PORT_LISTEN,()=>{
|
||||
console.log("Je suis allumé 😊 et j'écoute sur le port " + PORT_LISTEN)
|
||||
|
||||
})
|
||||
Reference in New Issue
Block a user