Skip to content

Commit 48940fe

Browse files
committed
Fix: update premium article domain to new mirror URL
1 parent 4ddddc5 commit 48940fe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

handler/utils.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ func FormatArticleMessage(item *gofeed.Item) string {
5959

6060
// If the article is premium, change the domain
6161
if premium {
62-
item.GUID = strings.Replace(item.GUID, "https://medium.com", "https://freedium.cfd", 1)
62+
item.GUID = strings.Replace(item.GUID, "https://medium.com", "https://freedium-mirror.cfd", 1)
6363
}
6464

6565
return fmt.Sprintf("\u25BA %s\nPublished: %s\nLink: %s", item.Title, item.Published, item.GUID)

0 commit comments

Comments
 (0)