From 86d56d0447882900345605d9584d15633fc00679 Mon Sep 17 00:00:00 2001 From: Lizandro Guarnizo <77708265+lizandrogd@users.noreply.github.com> Date: Mon, 25 May 2026 21:22:03 -0500 Subject: [PATCH] fix: use correct Coolify health endpoint /api/v1/healthcheck Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --- rest/controllers/coolify_controller.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rest/controllers/coolify_controller.go b/rest/controllers/coolify_controller.go index 1cf4dfe..e3e1a65 100644 --- a/rest/controllers/coolify_controller.go +++ b/rest/controllers/coolify_controller.go @@ -120,7 +120,7 @@ func CoolifyTestConnection(c *fiber.Ctx) error { } base := strings.TrimRight(cfg.BaseURL, "/") client := &http.Client{Timeout: 10 * time.Second} - resp, err := client.Get(base + "/api/health") + resp, err := client.Get(base + "/api/v1/healthcheck") if err != nil { return c.Status(fiber.StatusBadGateway).JSON(fiber.Map{"error": err.Error()}) }