Fix missing client parsing

This commit is contained in:
ekzyis 2024-02-26 16:06:15 +01:00
parent a98865c529
commit 3ace996a05
1 changed files with 8 additions and 1 deletions

View File

@ -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