mirror of
https://github.com/Unitech/pm2.git
synced 2025-12-08 20:35:53 +00:00
13 lines
285 B
JavaScript
13 lines
285 B
JavaScript
|
|
var http = require('http');
|
|
|
|
var server = http.createServer(function(req, res) {
|
|
res.writeHead(200);
|
|
res.end('hey');
|
|
}).listen(process.env.PORT || 8089, '0.0.0.0', function() {
|
|
console.log('App listening on port %d', server.address().port);
|
|
});
|
|
|
|
process.on('SIGINT', () => {
|
|
})
|