diff --git a/client/src/components/Modals/TextModal.tsx b/client/src/components/Modals/TextModal.tsx index ae378d4..52444fe 100644 --- a/client/src/components/Modals/TextModal.tsx +++ b/client/src/components/Modals/TextModal.tsx @@ -17,11 +17,11 @@ const ContentPreview = ({ key, comment }: { key: string, comment: string }) => { }; useEffect(() => { - // const findUrl = comment.match(/\bhttps?:\/\/\S+/gi); - // if (findUrl && findUrl.length > 0) { - // setUrl(findUrl[0]) - // setFinalComment(finalComment.replace(findUrl[0], '').trim()) - // } + const findUrl = comment.match(/\bhttps?:\/\/\S+/gi); + if (findUrl && findUrl.length > 0) { + setUrl(findUrl[0]) + setFinalComment(finalComment.replace(findUrl[0], '').trim()) + } const match = comment.match(/\bnostr:([a-z0-9]+)/i); const nostrQuoteID = match && match[1]; diff --git a/client/src/utils/relays.ts b/client/src/utils/relays.ts index 5e2eca3..5a07a65 100644 --- a/client/src/utils/relays.ts +++ b/client/src/utils/relays.ts @@ -99,8 +99,10 @@ export const publish = (event: Event) => { addRelay('wss://relay.snort.social'); -addRelay('wss://nostr.bitcoiner.social'); +addRelay('wss://relay.damus.io'); addRelay('wss://nostr.mom'); addRelay('wss://relay.nostr.bg'); addRelay('wss://nos.lol'); -addRelay('wss://powrelay.xyz'); \ No newline at end of file +addRelay('wss://powrelay.xyz'); +addRelay('wss://relay.mostr.pub'); +addRelay('wss://nostr.mutinywallet.com'); \ No newline at end of file