Skip to content

Commit

Permalink
feat: add ping endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
christophwitzko committed Feb 6, 2023
1 parent fc2b030 commit f85ad09
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions internal/server/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@ func New(log *logrus.Logger, db *firestore.Client, ghClient *github.Client, stor
}
router.Use(middleware.RequestID)
router.Use(middleware.RealIP)
router.Use(middleware.Heartbeat("/ping"))
router.Use(server.logMiddleware)
router.Use(server.recoverMiddleware)
// router.Use(middleware.Recoverer)
Expand Down

0 comments on commit f85ad09

Please sign in to comment.