Skip to content

Commit

Permalink
Fix purge URLs
Browse files Browse the repository at this point in the history
  • Loading branch information
Fizzadar committed Nov 14, 2023
1 parent 211a9b0 commit 9e236f0
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions update.go
Original file line number Diff line number Diff line change
Expand Up @@ -117,10 +117,10 @@ func (fs *FeedServ) purgeCloudflareCache(feed *FeedConfig) error {
}

data := cloudflarePurgeRequest{[]string{
fs.Config.PublicURL + "/" + feed.id,
fs.Config.PublicURL + "/" + feed.id + ".json",
fs.Config.PublicURL + "/" + feed.id + ".rss",
fs.Config.PublicURL + "/" + feed.id + ".atom",
fs.Config.PublicURL + feed.id,
fs.Config.PublicURL + feed.id + ".json",
fs.Config.PublicURL + feed.id + ".rss",
fs.Config.PublicURL + feed.id + ".atom",
}}
body, err := json.Marshal(data)
if err != nil {
Expand Down

0 comments on commit 9e236f0

Please sign in to comment.