fixing breaking images

pull/91/head
Akhil Gupta 4 years ago
parent cb761a73d6
commit 3179a875b8

@ -217,7 +217,7 @@ func GetPodcastItemImageById(c *gin.Context) {
if _, err = os.Stat(podcast.LocalImage); os.IsNotExist(err) {
c.Redirect(301, podcast.Image)
} else {
c.Redirect(302, "/"+podcast.LocalImage)
c.File(podcast.LocalImage)
}
}
} else {

Loading…
Cancel
Save