Skip to content
This repository has been archived by the owner on Dec 17, 2023. It is now read-only.

Commit

Permalink
fix: #17 use original RSS feed URL for NIP-05 verification instead of…
Browse files Browse the repository at this point in the history
… provided feed URL
  • Loading branch information
piraces committed Feb 6, 2023
1 parent e8d40c4 commit 499a25c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/feed/feed.go
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ func FeedToSetMetadata(pubkey string, feed *gofeed.Feed, originalUrl string, ena
}

if enableAutoRegistration {
metadata["nip05"] = fmt.Sprintf("%s@%s", feed.Link, "rsslay.nostr.moe")
metadata["nip05"] = fmt.Sprintf("%s@%s", originalUrl, "rsslay.nostr.moe")
}

if feed.Image != nil {
Expand Down

0 comments on commit 499a25c

Please sign in to comment.