Skip to content

Commit

Permalink
Merge pull request #89 from joxer/feature/healthcheck
Browse files Browse the repository at this point in the history
fbtrex/healthcheck added
  • Loading branch information
vecna authored Nov 19, 2018
2 parents c550970 + 7a7f162 commit 50d05b0
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions app.js
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,12 @@ app.get('/api/v:version/node/info', function(req, res) {
return dispatchPromise('nodeInfo', req, res);
});

/* healthcheck */

app.get('/fbtrex/health', function(req,res){
res.send({"status": "OK"});
});

/* byDay (impressions, users, metadata ) -- discontinued GUI */
app.get('/api/v:version/daily/:what/:dayback', function(req, res) {
return dispatchPromise('byDayStats', req, res);
Expand Down

0 comments on commit 50d05b0

Please sign in to comment.