fix: revert health endpoint to /api/health (not /v1, per Coolify docs)

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
Lizandro Guarnizo
2026-05-25 21:28:49 -05:00
co-authored by Copilot
parent 86d56d0447
commit e1aba741a7
+1 -1
View File
@@ -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()})
}