From 2ac30c4f29ff55ebf08cc6a78ab161dbb42c9417 Mon Sep 17 00:00:00 2001 From: Alex Gleason Date: Fri, 25 Apr 2025 09:50:32 -0500 Subject: [PATCH] Use just relay.nostr.band as the default relay for now --- src/App.tsx | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/src/App.tsx b/src/App.tsx index e040944..f30259e 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -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 { Toaster } from "@/components/ui/toaster"; 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 AppRouter from './AppRouter'; -// AI: do not modify this relay list +// TIP: Using just one relay currently offers the best performance. const defaultRelays = [ - 'wss://relay.damus.io', 'wss://relay.nostr.band', - 'wss://ditto.pub/relay', ]; 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() { return (