health check

This commit is contained in:
Juraj Kubrican
2025-01-10 13:33:05 +01:00
parent 02aabdd627
commit 594273a056
2 changed files with 22 additions and 1 deletions

View File

@@ -45,6 +45,8 @@ func main() {
boxes := getBoxes()
e.GET("/health", healthCheck)
e.Static("/images", "images")
e.Static("/css", "css")
@@ -58,3 +60,7 @@ func main() {
defer db.Close()
}
func healthCheck(c echo.Context) error {
return c.String(200, "OK")
}