mirror of
https://github.com/MasterAcnolo/Freedom-Loader.git
synced 2026-07-29 18:25:47 +02:00
CA MARCHE
This commit is contained in:
11
index.html
Normal file
11
index.html
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta charset="UTF-8">
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
|
<title>Document</title>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
13
server/server.js
Normal file
13
server/server.js
Normal file
@@ -0,0 +1,13 @@
|
|||||||
|
http=require("http")
|
||||||
|
|
||||||
|
|
||||||
|
http.createServer((req,res) =>{
|
||||||
|
|
||||||
|
res.writeHead(200,{
|
||||||
|
"content-type":"text/json"
|
||||||
|
})
|
||||||
|
res.write('{"nom":"JeanKul","prenom":"TaMere"}')
|
||||||
|
res.end()
|
||||||
|
}).listen(8080,()=>{
|
||||||
|
console.log("J'écoute ta grand mère")
|
||||||
|
})
|
||||||
Reference in New Issue
Block a user