diff --git a/cmd/main.go b/cmd/main.go index 55d3d49..6bf258d 100644 --- a/cmd/main.go +++ b/cmd/main.go @@ -40,10 +40,6 @@ func isLoggedIn(c echo.Context) error { return c.NoContent(http.StatusNoContent) } -func status(c echo.Context) error { - return c.NoContent(http.StatusOK) -} - func init_database() { var err error @@ -104,7 +100,7 @@ func main() { e.GET("/", isLoggedIn) e.POST("/", login) e.DELETE("/", logout) - e.GET("/health", status) + e.GET("/health", health.Health) e.GET("/swagger/*", echoSwagger.WrapHandler) // Start server