1
Fork 0
This repository has been archived on 2023-03-26. You can view files and clone it, but cannot push or open issues or pull requests.
dokku-default-block/server.js
2016-10-25 18:20:34 +01:00

13 lines
283 B
JavaScript

const express = require('express');
const PORT = process.env.PORT || 5000;
const app = express();
app.use(function (request) {
request.connection.destroy();
});
const server = app.listen(PORT, function () {
console.log('Server started on port ' + server.address().port);
});