diff --git a/app/api/server.go b/app/api/server.go index 9878fd99..24afcbd2 100644 --- a/app/api/server.go +++ b/app/api/server.go @@ -151,11 +151,13 @@ func (s *Server) getFeedCtrl(w http.ResponseWriter, r *http.Request) { if s.Conf.System.BaseURL != "" { baseURL := s.Conf.System.BaseURL rss.Link = baseURL + "/feed/" + feedName - rss.ItunesImage = feed.ItunesImg{ - URL: baseURL + "/image/" + feedName, - } - rss.MediaThumbnail = feed.MediaThumbnail{ - URL: baseURL + "/image/" + feedName, + if s.Conf.Feeds[feedName].Image != "" { + rss.ItunesImage = feed.ItunesImg{ + URL: baseURL + "/image/" + feedName, + } + rss.MediaThumbnail = feed.MediaThumbnail{ + URL: baseURL + "/image/" + feedName, + } } }