Structured /health Response (#4305)
* modifies /health to return json instead of OK * version removed!
This commit is contained in:
committed by
Florent Vilmart
parent
46af1b6955
commit
c0a81a88b7
@@ -8,7 +8,9 @@ describe('Server Url Checks', () => {
|
||||
|
||||
const app = express();
|
||||
app.get('/health', function(req, res){
|
||||
res.send('OK');
|
||||
res.json({
|
||||
status: 'ok'
|
||||
});
|
||||
});
|
||||
app.listen(13376);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user