mirror of
https://github.com/aljazceru/njump.git
synced 2026-02-23 15:04:22 +01:00
fix primal url and html/template escaping the native link scheme.
This commit is contained in:
@@ -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"
|
||||
|
||||
2
utils.go
2
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},
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user