diff --git a/index.js b/index.js index 5fa780b..ed2ce71 100644 --- a/index.js +++ b/index.js @@ -422,6 +422,7 @@ cron.schedule('0 22 * * 1', function() { // Start a basic HTTP server const app = express(); app.use(bodyParser.json()); +app.use('/status', (req, res) => res.status(200).send('Server up and running.')); app.use('/slack/events', slackEvents.expressMiddleware()); app.use(bodyParser.urlencoded({ extended: false })); app.use('/slack/actions', slackMessages.expressMiddleware());