add more relays

This commit is contained in:
smolgrrr 2023-11-01 13:50:33 +11:00
parent c419fa95e5
commit 4a5ca8d030
2 changed files with 9 additions and 7 deletions

View File

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

View File

@ -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');
addRelay('wss://relay.mostr.pub');
addRelay('wss://nostr.mutinywallet.com');