tokenbridge/bridge-monitor/test-srv.js
2019-05-08 15:12:02 +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))