From b028ada19a1a3fb508235907ee5e8a19cfbb54ef Mon Sep 17 00:00:00 2001 From: Artur Date: Wed, 30 Mar 2022 20:17:23 +0300 Subject: [PATCH] use image path from conf --- app/api/server.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/api/server.go b/app/api/server.go index 8e8f6e83..580d64d9 100644 --- a/app/api/server.go +++ b/app/api/server.go @@ -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, } } }