diff --git a/src/routes.go b/src/routes.go index a8390ae..cf7eb33 100644 --- a/src/routes.go +++ b/src/routes.go @@ -35,7 +35,7 @@ func JavaStatusHandler(ctx *fiber.Ctx) error { ctx.Set("X-Cache-Time-Remaining", strconv.Itoa(int(expiresAt.Seconds()))) } - return ctx.SendString(response) + return ctx.Type("json").SendString(response) } func BedrockStatusHandler(ctx *fiber.Ctx) error { @@ -55,7 +55,7 @@ func BedrockStatusHandler(ctx *fiber.Ctx) error { ctx.Set("X-Cache-Time-Remaining", strconv.Itoa(int(expiresAt.Seconds()))) } - return ctx.SendString(response) + return ctx.Type("json").SendString(response) } func IconHandler(ctx *fiber.Ctx) error {