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 1, 2022
1 parent d23dec8 commit cc59eed
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 @@ -153,10 +153,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 cc59eed

Please sign in to comment.