Merge branch 'copilot/vcard-api-integraciones-anlisis'
This commit is contained in:
@@ -120,7 +120,7 @@ func CoolifyTestConnection(c *fiber.Ctx) error {
|
|||||||
}
|
}
|
||||||
base := strings.TrimRight(cfg.BaseURL, "/")
|
base := strings.TrimRight(cfg.BaseURL, "/")
|
||||||
client := &http.Client{Timeout: 10 * time.Second}
|
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 {
|
if err != nil {
|
||||||
return c.Status(fiber.StatusBadGateway).JSON(fiber.Map{"error": err.Error()})
|
return c.Status(fiber.StatusBadGateway).JSON(fiber.Map{"error": err.Error()})
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user