Skip to content

Commit

Permalink
fixed newssppread linking to an image instead of a real site
Browse files Browse the repository at this point in the history
  • Loading branch information
CommanderStorm committed Oct 15, 2023
1 parent 4e8b870 commit 2074835
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion server/backend/cron/news.go
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,6 @@ func (c *CronService) newspreadHook(item *gofeed.Item) {
extractedImageURL = extractedImageSlice[0]
}
item.Enclosures = []*gofeed.Enclosure{{URL: extractedImageURL}}
item.Link = extractedImageURL
item.Description = ""
}

Expand Down

0 comments on commit 2074835

Please sign in to comment.