This commit is contained in:
video-prize-ranch 2023-06-02 23:02:46 -04:00
parent eba4f1e583
commit 01e17e0374
No known key found for this signature in database

View File

@ -75,6 +75,5 @@ func handleMedia(c *fiber.Ctx, url string) error {
c.Set("Content-Length", res.Header.Get("Content-Length"))
if res.Header.Get("Content-Range") != "" {
c.Set("Content-Range", res.Header.Get("Content-Range"))
}
return c.SendStream(res.Bod
return c.SendStream(res.Body)
}