mirror of
https://codeberg.org/aryak/mozhi
synced 2025-06-04 00:41:07 +05:30
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