mirror of
https://github.com/kingomarnajjar/flex-template-web.git
synced 2026-07-26 06:47:17 +10:00
Add a simple static /_status.json page
This commit is contained in:
parent
6deac9b47e
commit
7817979bb1
1 changed files with 4 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue