5efc9a6688
* 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.
14 lines
261 B
JavaScript
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))
|