Fix missing client parsing
This commit is contained in:
parent
a98865c529
commit
3ace996a05
9
main.go
9
main.go
|
@ -28,7 +28,14 @@ var (
|
||||||
NostrUrlRegexp = regexp.MustCompile(
|
NostrUrlRegexp = regexp.MustCompile(
|
||||||
`^(?:https?:\/\/)?(?:www\.)?` +
|
`^(?:https?:\/\/)?(?:www\.)?` +
|
||||||
`(?:` +
|
`(?:` +
|
||||||
`primal.net\/(?:e\/)?|snort.social\/(?:e\/)?` +
|
`primal\.net\/(?:e\/)?` +
|
||||||
|
`|snort\.social\/(?:e\/)?` +
|
||||||
|
`|iris\.to\/` +
|
||||||
|
`|highlighter\.com\/(?:a\/)?` +
|
||||||
|
`|nostter\.app\/` +
|
||||||
|
`|coracle\.social\/` +
|
||||||
|
`|satellite\.earth\/` +
|
||||||
|
`|nostrudel\.ninja\/(#\/n\/)?` +
|
||||||
`)((note|nevent)[a-zA-Z0-9]+)$`)
|
`)((note|nevent)[a-zA-Z0-9]+)$`)
|
||||||
NostrClients = []NostrClient{
|
NostrClients = []NostrClient{
|
||||||
// list from nostr.com
|
// list from nostr.com
|
||||||
|
|
Loading…
Reference in New Issue