Structured /health Response (#4305)

* modifies /health to return json instead of OK

* version removed!
This commit is contained in:
Benjamin Wilson Friedman
2017-11-03 08:51:46 -07:00
committed by Florent Vilmart
parent 46af1b6955
commit c0a81a88b7
2 changed files with 16 additions and 4 deletions

View File

@@ -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);