Merge pull request #149 from Semisol/patch-1

Add more relays (high performance)
This commit is contained in:
Kieran 2023-01-29 21:21:06 +00:00 committed by GitHub
commit eeef3bba7d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -24,7 +24,9 @@ export const ProfileCacheExpire = (1_000 * 60 * 5);
* Default bootstrap relays * Default bootstrap relays
*/ */
export const DefaultRelays = new Map<string, RelaySettings>([ export const DefaultRelays = new Map<string, RelaySettings>([
["wss://relay.snort.social", { read: true, write: true }] ["wss://relay.snort.social", { read: true, write: true }],
["wss://eden.nostr.land", { read: true, write: true }],
["wss://nostr-pub.semisol.dev", { read: true, write: true }]
]); ]);
/** /**
@ -114,4 +116,4 @@ export const SoundCloudRegex = /soundcloud\.com\/(?!live)([a-zA-Z0-9]+)\/([a-zA-
* Mixcloud regex * Mixcloud regex
*/ */
export const MixCloudRegex = /mixcloud\.com\/(?!live)([a-zA-Z0-9]+)\/([a-zA-Z0-9-]+)/ export const MixCloudRegex = /mixcloud\.com\/(?!live)([a-zA-Z0-9]+)\/([a-zA-Z0-9-]+)/