diff --git a/nostr.ts b/nostr.ts index 03ff19a..647951a 100644 --- a/nostr.ts +++ b/nostr.ts @@ -110,7 +110,7 @@ export async function nostrUriToUrl(uri: string): Promise { } export async function replaceNostrUris(markdown: string): Promise { - const nostrUriRegex = /(nostr:|nprofile|naddr|nevent|nrelay|npub)[a-z0-9]+/g; + const nostrUriRegex = /(nostr:|nprofile|naddr|nevent|npub)[a-z0-9]+/g; const matches = markdown.match(nostrUriRegex); if (!matches) return markdown;