diff --git a/holochecker_api.go b/holochecker_api.go index 5fba39a..026d5e3 100644 --- a/holochecker_api.go +++ b/holochecker_api.go @@ -48,6 +48,11 @@ func getAvatar(ctx *gin.Context) { func main() { router := gin.Default() router.GET("/avatars/:id", getAvatar) + router.GET("/check", func(ctx *gin.Context) { + ctx.JSON(http.StatusOK, gin.H{ + "detail": "I'm alright, thank you", + }) + }) host := os.Getenv("HOST") port := os.Getenv("PORT") if host == "" {