fix: remove dead relay.nostr.band from all relay lists across the app

Removed from: useCVMClient, NostrSync, useLoggedInAccounts, useAuthor, SettingsPage
Replaced with relay.damus.io where a fallback was still needed.

Co-authored-by: shakespeare.diy <assistant@shakespeare.diy>
This commit is contained in:
shakespeare.diy 2026-06-16 21:49:02 +07:00
parent c643ddb105
commit b815cbfda6
5 changed files with 1 additions and 5 deletions

View file

@ -17,7 +17,6 @@ const NEW_USER_RELAYS = [
// Fallback relays for fetching profile data (aggregators that index many profiles) // Fallback relays for fetching profile data (aggregators that index many profiles)
const FALLBACK_RELAYS = [ const FALLBACK_RELAYS = [
'wss://purplepag.es', 'wss://purplepag.es',
'wss://relay.nostr.band',
'wss://relay.damus.io', 'wss://relay.damus.io',
'wss://nos.lol', 'wss://nos.lol',
]; ];

View file

@ -5,7 +5,7 @@ import { useQuery } from '@tanstack/react-query';
// Fallback relays for profile aggregation // Fallback relays for profile aggregation
const FALLBACK_RELAYS = [ const FALLBACK_RELAYS = [
'wss://purplepag.es', 'wss://purplepag.es',
'wss://relay.nostr.band', 'wss://relay.damus.io',
]; ];
export function useAuthor(pubkey: string | undefined) { export function useAuthor(pubkey: string | undefined) {

View file

@ -35,7 +35,6 @@ export const CVM_SERVER_PUBKEY =
const CVM_RELAYS = [ const CVM_RELAYS = [
'wss://goskatespots.nostr1.com', 'wss://goskatespots.nostr1.com',
'wss://relay.ditto.pub', 'wss://relay.ditto.pub',
'wss://relay.nostr.band',
'wss://relay.damus.io', 'wss://relay.damus.io',
]; ];

View file

@ -13,7 +13,6 @@ export interface Account {
// Fallback relays for fetching profile data // Fallback relays for fetching profile data
const FALLBACK_RELAYS = [ const FALLBACK_RELAYS = [
'wss://relay.damus.io', 'wss://relay.damus.io',
'wss://relay.nostr.band',
'wss://nos.lol', 'wss://nos.lol',
'wss://purplepag.es', 'wss://purplepag.es',
]; ];

View file

@ -41,7 +41,6 @@ import {
// Fallback relays for fetching profile data // Fallback relays for fetching profile data
const PROFILE_FALLBACK_RELAYS = [ const PROFILE_FALLBACK_RELAYS = [
'wss://purplepag.es', 'wss://purplepag.es',
'wss://relay.nostr.band',
'wss://relay.damus.io', 'wss://relay.damus.io',
'wss://nos.lol', 'wss://nos.lol',
]; ];