diff --git a/cmd/main.go b/cmd/main.go index ce09fb1..cf9abf0 100644 --- a/cmd/main.go +++ b/cmd/main.go @@ -5,6 +5,7 @@ import ( "html/template" "io" "log" + "net/http" "os" "github.com/joho/godotenv" @@ -44,6 +45,10 @@ func main() { e.GET("/", pages.Index) + e.GET("/service/health-check", func(c echo.Context) error { + return c.NoContent(http.StatusOK) + }) + port := os.Getenv("PORT") if port == "" { port = "5173"