try fix breaking images

pull/91/head
Akhil Gupta 4 years ago
parent 6f005be80f
commit cb761a73d6

@ -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, fmt.Sprintf("/%s", podcast.LocalImage))
c.Redirect(302, "/"+podcast.LocalImage)
}
}
} else {

Loading…
Cancel
Save