5 lines
163 B
JavaScript
5 lines
163 B
JavaScript
require("http").createServer(function (req, res) {
|
|
res.writeHead(200, {"content-type":"application/json"})
|
|
res.end(JSON.stringify({ok: true}))
|
|
}).listen(1337)
|