Skip to content

Commit

Permalink
add a _ping route for health checks
Browse files Browse the repository at this point in the history
  • Loading branch information
maddox committed Sep 3, 2015
1 parent 7180056 commit 3ab4254
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions app.js
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,10 @@ function activityByName(activityName){
return activity
}

app.get('/_ping', function(req, res){
res.send('OK');
})

app.get('/', function(req, res){
res.sendfile('index.html');
})
Expand Down

0 comments on commit 3ab4254

Please sign in to comment.