feat: add default search relays
This commit is contained in:
parent
f2cfad50a9
commit
00af3aab64
6 changed files with 23 additions and 14 deletions
|
|
@ -1,3 +1,4 @@
|
|||
import { BIG_RELAY_URLS } from '@/constants'
|
||||
import { formatPubkey } from '@/lib/pubkey'
|
||||
import { tagNameEquals } from '@/lib/tag'
|
||||
import { isWebsocketUrl, normalizeUrl } from '@/lib/url'
|
||||
|
|
@ -15,13 +16,6 @@ import {
|
|||
VerifiedEvent
|
||||
} from 'nostr-tools'
|
||||
|
||||
const BIG_RELAY_URLS = [
|
||||
'wss://relay.damus.io/',
|
||||
'wss://nos.lol/',
|
||||
'wss://relay.nostr.band/',
|
||||
'wss://relay.noswhere.com/'
|
||||
]
|
||||
|
||||
type TTimelineRef = [string, number]
|
||||
|
||||
class ClientService extends EventTarget {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue