From 3ace996a056ac57a1e6808c4df7d38a0dc0cdcf4 Mon Sep 17 00:00:00 2001 From: ekzyis Date: Mon, 26 Feb 2024 16:06:15 +0100 Subject: [PATCH] Fix missing client parsing --- main.go | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/main.go b/main.go index c4d9692..f030360 100644 --- a/main.go +++ b/main.go @@ -28,7 +28,14 @@ var ( NostrUrlRegexp = regexp.MustCompile( `^(?: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]+)$`) NostrClients = []NostrClient{ // list from nostr.com