Skip to content

Commit

Permalink
Update index.js
Browse files Browse the repository at this point in the history
  • Loading branch information
David Höck authored Aug 17, 2020
1 parent f82d3e5 commit 0225233
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lib/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,10 @@ exports = module.exports = (options = {}) => {

app.disable('x-powered-by');
app.use(compression());

app.get('/health', function(req, res) {
res.send('I am healthy!');
});

app.get('*', server.onRequest);

Expand Down

0 comments on commit 0225233

Please sign in to comment.