tokenbridge/monitor/test-srv.js
Przemyslaw Rzad 5efc9a6688
Update bridge monitor (#38)
* Removed duplicate licence, updated links do Contributing and Licence in sub-readme.

* Renamed bridge-monitor to monitor.

* Removed package-lock.json.

* Added monitor workspace with linting.

* Consistent eslint version.

* Added readme for merging.
2019-05-14 09:17:03 +02:00

14 lines
261 B
JavaScript

const express = require('express')
const app = express()
app.all('/', (req, res) => {
setTimeout(() => {
res.status(504)
res.end()
}, 2000)
})
const PORT = process.env.PORT || 4000
app.listen(PORT, () => console.log('Listening on port ' + PORT))