diff --git a/handlers/proxy.go b/handlers/proxy.go index 3816437..4fe154c 100644 --- a/handlers/proxy.go +++ b/handlers/proxy.go @@ -24,7 +24,7 @@ func ProxySite(c *fiber.Ctx) error { body, _, resp, err := fetchSite(url, queries) if err != nil { log.Println("ERROR:", err) - c.SendStatus(500) + c.SendStatus(fiber.StatusInternalServerError) return c.SendString(err.Error()) }