Skip to content

Commit

Permalink
use image path from conf
Browse files Browse the repository at this point in the history
  • Loading branch information
Artur committed Apr 2, 2022
1 parent 9a74639 commit b028ada
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/api/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -166,10 +166,10 @@ func (s *Server) getFeedCtrl(w http.ResponseWriter, r *http.Request) {
rss.Link = baseURL + "/feed/" + feedName
if s.Conf.Feeds[feedName].Image != "" {
rss.ItunesImage = feed.ItunesImg{
URL: baseURL + "/image/" + feedName,
URL: baseURL + s.Conf.Feeds[feedName].Image,
}
rss.MediaThumbnail = feed.MediaThumbnail{
URL: baseURL + "/image/" + feedName,
URL: baseURL + s.Conf.Feeds[feedName].Image,
}
}
}
Expand Down

0 comments on commit b028ada

Please sign in to comment.