Fix various repository bugs

This commit is contained in:
Jon Staab
2024-05-14 14:32:21 -07:00
parent c91d02f3ea
commit 5c9b1893ba
14 changed files with 269 additions and 207 deletions
+1 -1
View File
@@ -1,3 +1,3 @@
export const fromNostrURI = (s: string) => s.replace(/^[\w+]+:\/?\/?/, "")
export const fromNostrURI = (s: string) => s.replace(/^nostr:\/?\/?/, "")
export const toNostrURI = (s: string) => `nostr:${s}`