diff --git a/render.go b/render.go index c962784..e2990f6 100644 --- a/render.go +++ b/render.go @@ -4,10 +4,10 @@ import ( _ "embed" "encoding/json" "fmt" - "html/template" "net/http" "regexp" "strings" + "text/template" "github.com/nbd-wtf/go-nostr" "github.com/nbd-wtf/go-nostr/nip19" diff --git a/utils.go b/utils.go index 9376574..b78faa2 100644 --- a/utils.go +++ b/utils.go @@ -57,7 +57,7 @@ func generateClientList(code string, event *nostr.Event) []map[string]string { // {"name": "iris", "url": ""}, doesn't support nprofile or hex {"name": "yosup", "url": "https://yosup.app/profile/" + event.PubKey}, {"name": "nostr.band", "url": "https://nostr.band/" + code}, - {"name": "primal", "url": "https://primal.net/thread/" + event.PubKey}, + {"name": "primal", "url": "https://primal.net/profile/" + event.PubKey}, {"name": "nostribe", "url": "https://www.nostribe.com/profile/" + event.PubKey}, {"name": "nostrid", "url": "https://web.nostrid.app/account/" + event.PubKey}, }