Use just relay.nostr.band as the default relay for now

This commit is contained in:
Alex Gleason 2025-04-25 09:50:32 -05:00
parent b8603ff80e
commit 2ac30c4f29
No known key found for this signature in database
GPG Key ID: 7211D1F99744FBB7

View File

@ -1,3 +1,6 @@
// NOTE: This file should normally not be modified unless you are adding a new provider.
// To add new routes, edit the AppRouter.tsx file.
import NostrProvider from '@/components/NostrProvider' import NostrProvider from '@/components/NostrProvider'
import { Toaster } from "@/components/ui/toaster"; import { Toaster } from "@/components/ui/toaster";
import { Toaster as Sonner } from "@/components/ui/sonner"; import { Toaster as Sonner } from "@/components/ui/sonner";
@ -6,11 +9,9 @@ import { QueryClient, QueryClientProvider } from "@tanstack/react-query";
import { NostrLoginProvider } from '@nostrify/react/login'; import { NostrLoginProvider } from '@nostrify/react/login';
import AppRouter from './AppRouter'; import AppRouter from './AppRouter';
// AI: do not modify this relay list // TIP: Using just one relay currently offers the best performance.
const defaultRelays = [ const defaultRelays = [
'wss://relay.damus.io',
'wss://relay.nostr.band', 'wss://relay.nostr.band',
'wss://ditto.pub/relay',
]; ];
const queryClient = new QueryClient({ const queryClient = new QueryClient({
@ -23,9 +24,6 @@ const queryClient = new QueryClient({
}, },
}); });
// NOTE: This file should normally not be modified unless you are adding a new provider.
// To add new routes, edit the AppRouter.tsx file.
export function App() { export function App() {
return ( return (
<NostrLoginProvider storageKey='nostr:login'> <NostrLoginProvider storageKey='nostr:login'>