mirror of
https://gitlab.com/soapbox-pub/mkstack.git
synced 2025-08-27 13:09:22 +00:00
Use just relay.nostr.band as the default relay for now
This commit is contained in:
parent
b8603ff80e
commit
2ac30c4f29
10
src/App.tsx
10
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 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'>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user