fix(nostr): stop connection to public relay

This commit is contained in:
ryan 2024-12-24 14:28:12 +03:00
parent 9da8b03de2
commit 863f05f8bc

View file

@ -18,7 +18,7 @@ pub fn App() -> impl IntoView {
// Nostr client subscription for items
spawn_local(async move {
let nostr_client = NostrClient::new("wss://relay.damus.io").await.unwrap();
let nostr_client = NostrClient::new("wss://relay.example.com").await.unwrap();
nostr_client.subscribe_to_items(tx.clone()).await.unwrap();
while let Some(content) = rx.recv().await {