million-stats/api/keep_alive.js

5 lines
No EOL
122 B
JavaScript

const http = require('http');
http.createServer(function(req, res) {
res.write("I'm alive");
res.end();
}).listen(8080);