From b4534a23c4f9f7f2b2c871cd68f6a97be29cc4cf Mon Sep 17 00:00:00 2001 From: austinkelsay Date: Wed, 16 Oct 2024 20:11:06 -0500 Subject: [PATCH] reset relays --- src/config/appConfig.js | 18 +++++++++--------- src/context/NDKContext.js | 4 ++-- 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/src/config/appConfig.js b/src/config/appConfig.js index 9b0f49a..07c6d2c 100644 --- a/src/config/appConfig.js +++ b/src/config/appConfig.js @@ -1,14 +1,14 @@ const appConfig = { defaultRelayUrls: [ - "wss://nos.lol/", - "wss://relay.damus.io/", - "wss://relay.snort.social/", - "wss://relay.nostr.band/", - "wss://relay.mutinywallet.com/", - "wss://relay.primal.net/", - "wss://nostr21.com/", - "wss://nostrue.com/", - "wss://purplerelay.com/", + // "wss://nos.lol/", + // "wss://relay.damus.io/", + // "wss://relay.snort.social/", + // "wss://relay.nostr.band/", + // "wss://relay.mutinywallet.com/", + // "wss://relay.primal.net/", + // "wss://nostr21.com/", + // "wss://nostrue.com/", + // "wss://purplerelay.com/", "wss://relay.devs.tools/" ], authorPubkeys: ["8cb60e215678879cda0bef4d5b3fc1a5c5925d2adb5d8c4fa7b7d03b5f2deaea", "676c02247668d5b18479be3d1a80933044256f3fbd03640a8c234684e641b6d6", "f33c8a9617cb15f705fc70cd461cfd6eaf22f9e24c33eabad981648e5ec6f741"], diff --git a/src/context/NDKContext.js b/src/context/NDKContext.js index df41d5c..6dbe847 100644 --- a/src/context/NDKContext.js +++ b/src/context/NDKContext.js @@ -11,8 +11,8 @@ const readOnlyRelays = ["wss://nostr21.com/", "wss://nostr.wine/", "wss://yestr. export const NDKProvider = ({ children }) => { const [ndk, setNdk] = useState(null); // todo: remove this after testing phase - const [userRelays, setUserRelays] = useLocalStorage("userRelays", appConfig.defaultRelayUrls); - // const [userRelays, setUserRelays] = useState([...readOnlyRelays, "wss://relay.devs.tools"]); + // const [userRelays, setUserRelays] = useLocalStorage("userRelays", appConfig.defaultRelayUrls); + const [userRelays, setUserRelays] = useState([...readOnlyRelays, "wss://relay.devs.tools"]); const createNDKInstance = (relays) => { const allRelays = [...new Set([...appConfig.defaultRelayUrls, ...relays])];