Add a simple static /_status.json page

This commit is contained in:
Boyan Tabakov 2018-02-28 18:19:56 +02:00
parent 6deac9b47e
commit 7817979bb1

View file

@ -134,6 +134,10 @@ app.get('*', (req, res) => {
return res.status(404).send('Static asset not found.');
}
if (req.url === '/_status.json') {
return res.status(200).send({ status: 'ok' });
}
const context = {};
// Get handle to tokenStore