diff --git a/.github/FUNDING.yml b/.github/FUNDING.yml new file mode 100644 index 0000000..cda2741 --- /dev/null +++ b/.github/FUNDING.yml @@ -0,0 +1 @@ +github: [glanceapp] diff --git a/internal/feed/rss.go b/internal/feed/rss.go index 1d38940..ec6ab2e 100644 --- a/internal/feed/rss.go +++ b/internal/feed/rss.go @@ -110,7 +110,7 @@ func getItemsFromRSSFeedTask(request RSSFeedRequest) ([]RSSFeedItem, error) { if err == nil { var link string - if item.Link[0] == '/' { + if len(item.Link) > 0 && item.Link[0] == '/' { link = item.Link } else { link = "/" + item.Link