From e1aba741a789eadedf397ce9ff2e00230c1bdf8e Mon Sep 17 00:00:00 2001 From: Lizandro Guarnizo <77708265+lizandrogd@users.noreply.github.com> Date: Mon, 25 May 2026 21:28:49 -0500 Subject: [PATCH] fix: revert health endpoint to /api/health (not /v1, per Coolify docs) 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 e3e1a65..1cf4dfe 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/v1/healthcheck") + resp, err := client.Get(base + "/api/health") if err != nil { return c.Status(fiber.StatusBadGateway).JSON(fiber.Map{"error": err.Error()}) }