fix TTS 404ing for no reason
This commit is contained in:
@@ -61,7 +61,7 @@ func HandleTTS(c *fiber.Ctx) error {
|
||||
return fiber.NewError(fiber.StatusInternalServerError, err.Error())
|
||||
}
|
||||
c.Set("Content-Type", "audio/mpeg")
|
||||
return c.Send(data)
|
||||
return c.Status(fiber.StatusOK).Send(data)
|
||||
}
|
||||
|
||||
// HandleTranslate godoc
|
||||
|
||||
Reference in New Issue
Block a user